@charset "UTF-8";

/* =========================================================
  contentGpArticleDoc, contentPage
========================================================= */

img {
  max-width: 100%;
}

/* print btn
----------------------------------------------- */
#btnPrint {
  display: block;
  margin: 16px 0;
  text-align: right;
}

#btnPrint svg {
  margin: 0 4px 2px 0;
}

/* h2~h6
----------------------------------------------- */
.contentGpArticleDoc h2,
.contentPage h2,
.cke_editable h2 {
  display: block;
  padding: 8px 16px;
  margin: 48px 0 24px;
  font-size: 1.875rem;
  background-color: rgb(from var(--ac-color-green-2) r g b / 40%);
  border-left: 8px solid var(--ac-color-green-1);
}

.contentGpArticleDoc h3,
.contentPage h3,
.cke_editable h3 {
  display: block;
  padding: 7px 26px;
  margin: 48px 0 24px;
  font-size: 1.625rem;
  background-color: var(--ac-color-blue-11);
  border-radius: 0 15px;
}

.contentGpArticleDoc h4,
.contentPage h4,
.cke_editable h4 {
  position: relative;
  margin: 64px 0 16px 28px;
  font-size: 1.375rem;
  border-bottom: 2px solid var(--ac-color-blue-1);
}

.contentGpArticleDoc h4::before,
.contentPage h4::before,
.cke_editable h4::before {
  position: absolute;
  top: -16px;
  left: -24px;
  z-index: -1;
  width: 56px;
  height: 56px;
  content: "";
  background-color: var(--ac-color-blue-11);
  border-radius: 10px;
}

.contentGpArticleDoc h5,
.contentPage h5,
.cke_editable h5 {
  position: relative;
  display: flex;
  margin: 24px 0 16px 4px;
  font-size: 1.125rem;
  font-weight: bold;
}

.contentGpArticleDoc h5::before,
.contentPage h5::before,
.cke_editable h5::before {
  position: relative;
  top: 6px;
  left: 0;
  min-width: 16px;
  height: 16px;
  margin: 0 8px 0 0;
  content: "";
  background-color: var(--ac-color-blue-4);
  border-radius: 2px;
}

@media only screen and (max-width: 575px) {
  .contentGpArticleDoc h2,
  .contentPage h2,
  .cke_editable h2 {
    font-size: 1.75rem;
  }

  .contentGpArticleDoc h3,
  .contentPage h3,
  .cke_editable h3 {
    font-size: 1.5rem;
  }

  .contentGpArticleDoc h4,
  .contentPage h4,
  .cke_editable h4 {
    font-size: 22px;
  }

  .contentGpArticleDoc h4::before,
  .contentPage h4::before,
  .cke_editable h4::before {
    width: 48px;
    height: 48px;
  }
}

/* .inquiry
----------------------------------------------- */
.contentGpArticleDoc .inquiry {
  background-color: var(--ac-color-orange-11);
}

.contentGpArticleDoc .inquiry h2,
.contentPage .inquiry h2 {
  padding: 16px 16px 4px;
  margin: 0;
  font-size: 1rem;
  background-color: inherit;
  border-left: none;
}

.contentGpArticleDoc address,
.contentPage address {
  padding: 16px 0;
  margin: 0 16px;
  border-top: 2px solid var(--ac-color-orange-6);
}

/* 共通
----------------------------------------------- */
.contentGpArticleDoc .docNo {
  display: inline-block;
  margin-right: 16px;
}

.contentGpArticleDoc .date {
  margin: 0 0 20px;
  text-align: right;
}

.contentGpArticleDoc .date p {
  display: inline-block;
}

.contentGpArticleDoc .body,
.contentPage .body {
  margin: 20px 0 40px;
}

.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);
}

.contentGpArticleDoc a:hover,
.contentPage a:hover,
.cke_editable a:hover {
  color: var(--a-hover-color);
}

.contentGpArticleDoc a:visited,
.contentPage a:visited,
.cke_editable a:visited {
  color: var(--a-visited-color);
}

.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-6);
}

.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: 8px;
  text-align: center;
}

.contentGpArticleDoc table th,
.contentGpArticleDoc table td,
.contentPage table th,
.contentPage table td,
.cke_editable table th,
.cke_editable table td {
  padding: 6px 10px;
}

.contentGpArticleDoc table th,
.contentGpArticleDoc table td,
.contentPage table th,
.contentPage table td {
  border: 1px solid var(--mono-color-6);
}

.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-6) !important;
}

.cke_editable table[border="0"] th,
.cke_editable table[border="0"] td {
  border: none !important;
}

.contentGpArticleDoc th,
.contentPage th {
  background-color: var(--main-color-10);
  text-align: center;
}

.cke_editable th {
  background-color: var(--main-color-10) !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;
  padding: 10px;
  border-top: 1px solid var(--main-color-4);
  border-bottom: 1px solid var(--main-color-4);
  border-left: none;
}

.contentGpArticleDoc blockquote::before,
.contentGpArticleDoc blockquote::after,
.contentPage blockquote::before,
.contentPage blockquote::after,
.cke_editable blockquote::before,
.cke_editable blockquote::after {
  position: absolute;
  font-size: 40px;
  line-height: 1;
  color: var(--main-color-4);
  text-align: center;
  content: '"';
  background-color: var(--mono-color-white);
}

.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;
  color: var(--mono-color-3);
  text-align: right;
}

.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 .maps h2,
.contentGpArticleDoc .rels h2,
.contentGpArticleDoc .tags h2,
.cke_editable .maps h2,
.cke_editable .rels h2,
.cke_editable .tags h2 {
  padding: 7px 0 7px 16px;
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: bold;
  color: var(--mono-color-1);
  background-color: var(--ac-color-orange-8);
  border: none;
}

.contentGpArticleDoc .maps h3,
.cke_editable .maps h3 {
  padding: 0;
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: bold;
  color: var(--mono-color-1);
  background-color: transparent;
  border-color: var(--ac-color-orange-8);
  border-style: none none solid;
  border-width: 0 0 2px;
  border-radius: 0%;
}

.contentGpArticleDoc #placeList {
  position: relative;
  margin-bottom: 0.5rem;
}

.contentGpArticleDoc #placeList::before {
  position: relative;
  content: "ルート案内：";
}

/* .contentGpArticleDoc .inquiry h2,
.contentPage .inquiry h2 {
  padding: 7px 0 7px 16px;
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  color: var(--mono-color-1);
  background-color: var(--mono-color-6);
  border: none;
} */

/* .contentGpArticleDoc address,
.contentPage address {
  padding: 16px;
  font-style: normal;
  border-color: var(--mono-color-6);
  border-style: none solid solid;
  border-width: 0 1px 1px;
} */

.contentGpArticleDoc address .section,
.contentPage address .section {
  font-weight: bold;
}

/* template contents  */
.contentGpArticleDoc .material,
.contentGpArticleDoc .memo {
  display: flex;
}

.contentGpArticleDoc .material-name,
.contentGpArticleDoc .memo-name {
  flex-basis: 6rem;
  padding: 4px 10px;
  margin-right: 1rem;
  background-color: var(--mono-color-9);
}

.contentGpArticleDoc .material-body,
.contentGpArticleDoc .memo-body {
  padding: 4px 0;
}

table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  vertical-align: middle;
}

/* rels
----------------------------------------------- */
.contentGpArticleDoc .rels ul,
.cke_editable .rels ul {
  padding: 0 0 0 8px;
  list-style-image: url("/_themes/site/images/arrow-black.svg");
}

.contentGpArticleDoc .rels ul li,
.cke_editable .rels ul li {
  margin: 0 0 0 16px;
}

/* mceTmpl
----------------------------------------------- */
.mceTmpl::after {
  clear: both;
  display: table;
  content: "";
}

/* akiya-block
----------------------------------------------- */
.temp8 {
  margin-bottom: 1rem;
}

.temp8 > p {
  display: flex;
  gap: 10px;
  align-items: center;
}

.temp8 > p strong {
  font-size: 1.25rem;
}

.temp8 .akiya-block {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}

.temp8 .left-block {
  flex: 0 1 30%;
}

.temp8 img {
  max-width: 100%;
}

@media only screen and (max-width: 575px) {
  .temp8 > p {
    flex-wrap: wrap;
  }

  .temp8 > p strong {
    width: 100%;
  }

  .temp8 .left-block {
    flex: 1 1 100%;
  }
}

/* =========================================================
  emergencyDocs
========================================================= */
[id^="page-emergency"] .contentGpArticleDoc h2,
[id^="page-emergency"] .contentPage h2 {
  background-color: var(--ac-color-red-5);
  border-left: 8px solid var(--ac-color-red-4);
}

[id^="page-emergency"] .contentGpArticleDoc h3,
[id^="page-emergency"] .contentPage h3 {
  background-color: var(--ac-color-orange-10);
}

[id^="page-emergency"] .contentGpArticleDoc h4,
[id^="page-emergency"] .contentPage h4 {
  border-bottom: 1px solid var(--ac-color-orange-1);
}

[id^="page-emergency"] .contentGpArticleDoc h4::before,
[id^="page-emergency"] .contentPage h4::before {
  background-color: var(--ac-color-orange-10);
}

[id^="page-emergency"] .contentGpArticleDoc h5::before,
[id^="page-emergency"] .contentPage h5::before {
  background-color: var(--ac-color-orange-3);
}
