@charset "utf-8";

/* =========================================================
   2col layout
========================================================= */
/*======================================
 大枠
 ======================================*/
#wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto 11.25rem;
}

#content {
  flex-basis: var(--col2-content-width);
  width: var(--col2-content-width);
}

#links {
  flex-basis: var(--col2-side-width);
}

@media only screen and (max-width: 959px) {
  #wrapper {
    width: 94%;
    margin: 1.24rem auto 6.25rem;
  }

  #content {
    flex-basis: 100%;
  }

  #links {
    display: none;
  }
}

/*=====================================
 サイドメニュー 
======================================*/
#links>div {
  margin-bottom: 0.625rem;
  border: 1px solid var(--mono-color-4);
}

#links .pieceHeader {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--mono-color-4);
}

#links h2 {
  border: none !important;
}

#links h2,
#guidanceList a {
  color: var(--mono-color-1);
  font-weight: bold;
  font-size: 1.2rem;
}

#links .pieceBody li {
  position: relative;
  border-bottom: none;
}

#links .pieceBody li+li {
  border-top: 1px solid var(--mono-color-4);
}

#links .pieceBody li::after {
  position: absolute;
  top: 50%;
  right: 1.3rem;
  transform: rotate(45deg) translateY(-50%);
  width: 0.625rem;
  height: 0.625rem;
  border-top: 2px solid var(--main-color-2);
  border-right: 2px solid var(--main-color-2);
  content: "";
}

#links .pieceBody a {
  display: inline-block;
  width: 100%;
  padding: 0.75rem 2.3rem 0.75rem 2rem;
  color: var(--mono-color-1);
  text-decoration: none;
}

#links .pieceBody a:not(#guidanceList a):before {
  position: absolute;
  top: 1.5rem;
  left: 1rem;
  width: 0.625rem;
  border: 1px solid var(--main-color-2);
  content: "";
}

#kubunList .pieceBody li:hover,
#links .pieceBody a:hover {
  background-color: var(--main-color-10);
}

/* 個別指定 */
#kubunList .pieceBody a {
  width: auto;
  padding-right: 0;
}

#kubunList .pieceBody a::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
}

#guidanceList span {
  display: inline;
  width: 100%;
  height: auto;
  padding: 0;
  background-color: transparent;
  text-align: left;
}

#links #guidanceList a {
  padding-left: 1rem;
}

/*======================================
 コンテント 
 ======================================*/
.contentWrap {
  margin-top: 3.75rem;
}

@media only screen and (max-width: 959px) {
  .contentWrap {
    margin-top: 2.5rem;
  }

  #content h1 {
    font-size: 1.9rem;
  }
}


/*======================================
 お知らせ一覧ページのみ
 ======================================*/
.contentGpCategoryCategoryType .kubun li:first-of-type .doc_link {
  padding-top: 0;
}