@charset "UTF-8";

/* =========================================================
  body, cke_editable
========================================================= */
.date {
  margin: 0 0 20px;
  text-align: right;
}

body[class^="dir-product"] .date {
  display: none;
}

.date p {
  display: inline-block;
}

.date p:not(:last-child) {
  margin: 0 1rem 0 0;
}

.body {
  margin: 0 0 40px;
}

.text-beginning>*:first-child,
.cke_editable>*:first-child {
  margin-top: 0;
}

.body p,
.cke_editable p {
  margin: 0 0 1rem;
}

.body p+div,
.cke_editable p+div,
.body p+h2,
.cke_editable p+h2,
.body p+h3,
.cke_editable p+h3,
.body p+h4,
.cke_editable p+h4,
.body p+h5,
.cke_editable p+h5,
.body ul+h2,
.cke_editable ul+h2,
.body ul+h3,
.cke_editable ul+h3,
.body ul+h4,
.cke_editable ul+h4,
.body ul+h5,
.cke_editable ul+h5,
.body ol+h2,
.cke_editable ol+h2,
.body ol+h3,
.cke_editable ol+h3,
.body ol+h4,
.cke_editable ol+h4,
.body ol+h5,
.cke_editable ol+h5 {
  margin-top: 40px;
}

.body h2,
.cke_editable h2

/*,
.category_ids>div,
.searchInfo .keyword*/
  {
  line-height: 1;
  margin-bottom: 24px;
  padding: 19px 16px;
  background-color: var(--main-color-5);
  color: var(--mono-color-9);
  font-size: 2rem;
  font-weight: normal;
}

.searchInfo>div {
  margin-bottom: 1em;
  padding: 0 16px;
}

.body h3,
.cke_editable h3

/*,
.searchInfo .hit*/
  {
  line-height: 1;
  margin-bottom: 24px;
  padding: 17px 16px;
  background-color: var(--main-color-6);
  color: var(--mono-color-9);
  font-size: 1.625rem;
  font-weight: normal;
}

.body h4,
.cke_editable h4 {
  line-height: 1;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-left: 5px solid var(--main-color-7);
  font-size: 1.375rem;
  font-weight: normal;
}

.body h5,
.cke_editable h5 {
  line-height: 1;
  margin-bottom: 16px;
  font-size: 1.25rem;
  font-weight: bold;
}

.body table,
.cke_editable table {
  margin-bottom: 30px;
}

.body table,
.cke_editable table {
  border: 0;
}

.body table p,
.cke_editable table p {
  margin-bottom: 0;
}

.body caption,
.cke_editable caption {
  margin: 8px;
  text-align: center;
}

.body th,
.body td,
.cke_editable th,
.cke_editable td {
  padding: 16px;
  border-bottom: 1px solid var(--mono-color-2);
  vertical-align: middle;
}

.body table[border="0"] th,
.body table[border="0"] td,
.cke_editable table[border="0"] th,
.cke_editable table[border="0"] td {
  border: 0;
}

.body th,
.cke_editable th {
  background-color: var(--mono-color-3);
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
}

.body ul,
.body ol,
.cke_editable ul,
.cke_editable ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.body ul,
.cke_editable ul {
  list-style-type: disc;
}

.body ol,
.cke_editable ol {
  list-style-type: decimal;
}

.body li,
.cke_editable li {
  margin-bottom: 0.5rem;
}

.body 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;
}

.body blockquote::before,
.body 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;
}

.body blockquote::before,
.cke_editable blockquote::before {
  top: -8px;
  left: -10px;
}

.body blockquote::after,
.cke_editable blockquote::after {
  right: -10px;
  bottom: -32px;
}

.body blockquote cite,
.cke_editable blockquote cite {
  display: block;
  padding-right: 30px;
  font-size: 0.8125rem;
  text-align: right;
  color: var(--mono-color-3);
}

.body blockquote p:last-child,
.cke_editable blockquote p:last-child {
  margin: 0;
}

.maps,
.rels,
.tags,
.qrcode,
.inquiry {
  margin-bottom: 30px;
}

.maps h2,
.rels h2,
.tags h2 {
  margin: 0 0 10px;
  padding: 7px 0 7px 16px;
  border: none;
  background-color: var(--main-color-6);
  font-size: 1rem;
  font-weight: bold;
  color: var(--mono-color-1);
}

.maps h3 {
  margin: 0 0 12px;
  padding: 0;
  border-style: none none solid;
  border-width: 0 0 2px;
  border-color: var(--mono-color-6);
  background-color: transparent;
  font-size: 1rem;
  font-weight: bold;
  color: var(--mono-color-1);
}

.body #placeList {
  position: relative;
  margin-bottom: 0.5rem;
}

.body #placeList::before {
  content: "ルート案内：";
  position: relative;
}

.inquiry h2 {
  margin: 0;
  padding: 7px 0 7px 16px;
  border: none;
  background-color: var(--mono-color-6);
  font-size: 1rem;
  font-weight: bold;
  color: var(--mono-color-1);
}

.inquiry address {
  padding: 16px;
  border-style: none solid solid;
  border-width: 0 1px 1px;
  border-color: var(--mono-color-6);
  font-style: normal;
}

.inquiry address .section {
  font-weight: bold;
}

/* template contents  */
.body .material,
.body .memo {
  display: flex;
}

.body .material-name,
.body .memo-name {
  flex-basis: 6rem;
  margin-right: 1rem;
  padding: 4px 10px;
  background-color: var(--mono-color-8);
}

.body .material-body,
.body .memo-body {
  padding: 4px 0;
}

@media only screen and (max-width: 959px) {

  .body p+h2,
  .cke_editable p+h2,
  .body p+h3,
  .cke_editable p+h3,
  .body p+h4,
  .cke_editable p+h4,
  .body p+h5,
  .cke_editable p+h5,
  .body ul+h2,
  .cke_editable ul+h2,
  .body ul+h3,
  .cke_editable ul+h3,
  .body ul+h4,
  .cke_editable ul+h4,
  .body ul+h5,
  .cke_editable ul+h5,
  .body ol+h2,
  .cke_editable ol+h2,
  .body ol+h3,
  .cke_editable ol+h3,
  .body ol+h4,
  .cke_editable ol+h4,
  .body ol+h5,
  .cke_editable ol+h5 {
    margin-top: 20px;
  }

  .body h2,
  .cke_editable h2,
  .body h3,
  .cke_editable h3,
  .body h4,
  .cke_editable h4,
  .body h5,
  .cke_editable h5 {
    margin-bottom: 12px;
  }

  .body h2,
  .cke_editable h2 {
    font-size: 1.35rem;
  }

  .body h3,
  .cke_editable h3 {
    font-size: 1.15rem;
  }

  .body h4,
  .cke_editable h4 {
    font-size: 1rem;
  }
}