@charset "UTF-8";

/* =========================================================
  contentGpArticleDoc, contentPage, cke_editable
========================================================= */
.contentGpArticleDoc .docNo {
  font-size: 0.875rem;
  text-align: right;
}

.contentGpArticleDoc .date {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin: 0 0 1em;
  font-size: 0.875rem;
  text-align: right;
}

.contentGpArticleDoc .date p {
  display: inline-block;
}

.contentGpArticleDoc .body,
.contentPage .body {
  margin: 0 0 35px;
}

.contentGpArticleDoc .body .text-beginning>*:first-child,
.contentPage .body>*:first-child,
.cke_editable>*:first-child {
  margin-top: 0;
}

.contentGpArticleDoc .body p,
.contentPage .body p,
.cke_editable p {
  margin: 0 0 1rem;
}

.contentGpArticleDoc a,
.contentPage a,
.cke_editable a {
  color: var(--a-color);
  text-decoration: underline;
}

.contentGpArticleDoc a:hover,
.contentPage a:hover,
.cke_editable a:hover,
.contentGpArticleDoc a:focus,
.contentPage a:focus,
.cke_editable a:focus {
  color: var(--a-hover-color);
  text-decoration: none;
}

.contentGpArticleDoc a:visited,
.contentPage a:visited,
.cke_editable a:visited {
  color: var(--a-visited-color);
}

.contentGpArticleDoc a.iconFile,
.contentPage a.iconFile,
.cke_editable a.iconFile {
  color: var(--a-file-color);
  text-decoration: none;
}

.contentGpArticleDoc a.iconFile:hover,
.contentPage a.iconFile:hover,
.cke_editable a.iconFile:hover {
  text-decoration: underline;
}

.contentGpArticleDoc h2,
.contentPage h2,
.cke_editable h2 {
  display: block;
  line-height: 1.3;
  margin: 2rem 0 1rem;
  padding: 14px 10px;
  background-color: var(--main-color-16);
  font-size: 1.75rem;
  font-weight: bold;
}

.contentGpArticleDoc h3,
.contentPage h3,
.cke_editable h3 {
  display: block;
  margin: 1.8rem 0 1rem;
  padding: 5px 12px;
  border-bottom: 1px solid var(--mono-color-20);
  border-left: 4px solid var(--main-color-13);
  font-size: 1.5rem;
  font-weight: bold;
}

.contentGpArticleDoc h4,
.contentPage h4,
.cke_editable h4 {
  margin: 1.5rem 0 12px;
  font-size: 1.375rem;
  font-weight: bold;
}

.contentGpArticleDoc h5,
.contentPage h5,
.cke_editable h5 {
  margin: 1.5rem 0 12px;
  font-size: 1.25rem;
  font-weight: bold;
}

.contentGpArticleDoc h6,
.contentPage h6,
.cke_editable h6 {
  margin: 1.5rem 0 12px;
  font-size: 1.125rem;
  font-weight: bold;
}

.contentGpArticleDoc img,
.contentPage img,
.cke_editable img {
  height: auto !important;
  border-color: var(--mono-color-3);
}

.contentGpArticleDoc table,
.contentPage table,
.cke_editable table {
  margin-bottom: 30px;
  border-collapse: collapse;
}

.contentGpArticleDoc table,
.contentPage table {
  border: 1px solid var(--mono-color-7);
}

.cke_editable table {
  border: 1px solid var(--mono-color-3) !important;
}

.contentGpArticleDoc table p,
.contentPage table p,
.cke_editable table p {
  margin-bottom: 0;
}

.contentGpArticleDoc table caption,
.contentPage table caption,
.cke_editable table caption {
  margin: 0 0 0.5rem;
  font-weight: bold;
  text-align: left;
}

.contentGpArticleDoc table th,
.contentGpArticleDoc table td,
.contentPage table th,
.contentPage table td,
.cke_editable table th,
.cke_editable table td {
  padding: 8px;
}

.contentGpArticleDoc table th,
.contentGpArticleDoc table td,
.contentPage table th,
.contentPage table td {
  border: 1px solid var(--mono-color-7);
}

.contentGpArticleDoc table[border="0"] th,
.contentGpArticleDoc table[border="0"] td,
.contentPage table[border="0"] th,
.contentPage table[border="0"] td {
  border: none;
}

.cke_editable table th,
.cke_editable table td {
  border: 1px solid var(--mono-color-7) !important;
}

.cke_editable table[border="0"] th,
.cke_editable table[border="0"] td {
  border: none !important;
}

.contentGpArticleDoc th,
.contentPage th {
  background-color: var(--mono-color-19);
  text-align: center;
}

.cke_editable th {
  background-color: var(--mono-color-19) !important;
  text-align: center;
}

.contentGpArticleDoc ul,
.contentGpArticleDoc ol,
.contentPage ul,
.contentPage ol,
.cke_editable ul,
.cke_editable ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.contentGpArticleDoc ul,
.contentPage ul,
.cke_editable ul {
  list-style-type: disc;
}

.contentGpArticleDoc ol,
.contentPage ol,
.cke_editable ol {
  list-style-type: decimal;
}

.contentGpArticleDoc li,
.contentPage li,
.cke_editable li {
  margin-bottom: 0.5rem;
}

.contentGpArticleDoc blockquote,
.contentPage blockquote,
.cke_editable blockquote {
  position: relative;
  border-top: 1px solid var(--main-color-4);
  border-bottom: 1px solid var(--main-color-4);
  border-left: none;
  padding: 10px;
}

.contentGpArticleDoc blockquote::before,
.contentGpArticleDoc blockquote::after,
.contentPage blockquote::before,
.contentPage blockquote::after,
.cke_editable blockquote::before,
.cke_editable blockquote::after {
  position: absolute;
  content: '"';
  background-color: var(--mono-color-9);
  color: var(--main-color-4);
  line-height: 1;
  text-align: center;
  font-size: 40px;
}

.contentGpArticleDoc blockquote::before,
.contentPage blockquote::before,
.cke_editable blockquote::before {
  top: -8px;
  left: -10px;
}

.contentGpArticleDoc blockquote::after,
.contentPage blockquote::after,
.cke_editable blockquote::after {
  right: -10px;
  bottom: -32px;
}

.contentGpArticleDoc blockquote cite,
.contentPage blockquote cite,
.cke_editable blockquote cite {
  display: block;
  padding-right: 30px;
  font-size: 0.8125rem;
  text-align: right;
  color: var(--mono-color-3);
}

.contentGpArticleDoc blockquote p:last-child,
.contentPage blockquote cite p:last-child,
.cke_editable blockquote p:last-child {
  margin: 0;
}

.contentGpArticleDoc .maps,
.contentGpArticleDoc .rels,
.contentGpArticleDoc .tags,
.contentGpArticleDoc .qrcode,
.contentGpArticleDoc .inquiry,
.cke_editable .map,
.cke_editable .rels,
.cke_editable .tags {
  margin-bottom: 30px;
}

.contentGpArticleDoc .rels ul,
.contentGpArticleDoc .tags ul,
.cke_editable .rels ul,
.cke_editable .tags ul {
  list-style: none;
  padding-left: 5px;
}

.contentGpArticleDoc .rels li a,
.contentGpArticleDoc .tags li a,
.cke_editable .rels li a,
.cke_editable .tags li a {
  display: inline-block;
  position: relative;
  line-height: 1.5;
  padding: 8px 0 8px 16px;
  color: var(--a-file-color);
  text-decoration: none;
}

.contentGpArticleDoc .rels li a::before,
.contentGpArticleDoc .tags li a::before,
.cke_editable .rels li a::before,
.cke_editable .tags li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--main-color-2);
}

.contentGpArticleDoc .rels li a:hover,
.contentGpArticleDoc .tags li a:hover,
.cke_editable .rels li a:hover,
.cke_editable .tags li a:hover {
  text-decoration: underline;
}

.contentGpArticleDoc #placeList {
  position: relative;
  margin-bottom: 0.5rem;
}

.contentGpArticleDoc #placeList::before {
  content: "ルート案内：";
  position: relative;
}

.contentGpArticleDoc .inquiry,
.contentPage .inquiry {
  padding: 24px;
  border: 1px solid var(--mono-color-7);
  border-radius: 8px;
}

.contentGpArticleDoc .inquiry h2,
.contentPage .inquiry h2 {
  margin: 0 0 1rem;
  padding: 0;
  background-color: transparent;
  font-size: 1rem;
  font-weight: bold;
}

.contentGpArticleDoc address,
.contentPage address {
  font-style: normal;
}

.contentGpArticleDoc .inquiry a,
.contentPage .inquiry a {
  color: var(--a-file-color);
  text-decoration: none;
}

.contentGpArticleDoc .inquiry a:hover,
.contentPage .inquiry a:hover,
.contentGpArticleDoc .inquiry a:focus,
.contentPage .inquiry a:focus {
  text-decoration: underline;
}

/* template contents  */
.contentGpArticleDoc .material,
.contentGpArticleDoc .memo {
  display: flex;
}

.contentGpArticleDoc .material-name,
.contentGpArticleDoc .memo-name {
  flex-basis: 6rem;
  margin-right: 1rem;
  padding: 4px 10px;
  background-color: var(--mono-color-8);
}

.contentGpArticleDoc .material-body,
.contentGpArticleDoc .memo-body {
  padding: 4px 0;
}

@media screen and (max-width: 959px) {

  .contentGpArticleDoc,
  .contentPage {
    padding: 15px 0 0;
  }
}

/* =========================================================
  similarDocs (joruri-search)
========================================================= */
#similarDocs h2 {
  padding: 12px 12px 12px 46px;
  background: var(--main-color-16) url("../../images/ic-similar.svg") no-repeat 15px center;
  font-size: 1.25rem;
  font-weight: bold;
}

#similarDocs #reldoc>div {
  padding: 10px 0;
}

#similarDocs #reldoc li {
  padding: 10px 0;
}

@media only screen and (max-width: 959px) {
  #similarDocs #reldoc li {
    padding: 10px;
  }
}

/* print btn
----------------------------------------------- */
#printBtn {
  display: block;
  text-align: right;
}

#printBtn svg {
  margin: 0 4px 2px 0;
}