/* Wysiwyg editor
 **************************************** */
.mceContentBody {
  text-align: justify;
  text-justify: inter-ideograph;
  -ms-text-justify: inter-ideograph;
}
.mceContentBody img {
  margin: 20px 0;
  max-width: 100%;
  height: auto;
}
.mceContentBody hr {
  border-top: 3px double #ccc;
  background: transparent;
}
.mceContentBody .alignleft {
  float: left;
  clear: left;
  margin: 0 30px 30px 0;
}
.mceContentBody .alignright {
  float: right;
  clear: right;
  margin: 0 0 30px 30px;
}
.mceContentBody .aligncenter {
  display: block;
  margin: 30px auto;
}
.mceContentBody table {
  border: 2px solid #ccc;
  margin: 20px 0;
  line-height: 1.6;
}
.mceContentBody a,
.text-link {
  text-decoration: underline;
  color: #d00a23;
}
.mceContentBody table th,
.mceContentBody table td {
  padding: 8px 16px;
  border: 1px solid #ccc;
  font-size: 93%;
  vertical-align: middle;
}
.mceContentBody table th {
  white-space: nowrap;
}
.mceContentBody h1,
.mceContentBody h2,
.mceContentBody h3,
.mceContentBody h4:not(.editor-ttl),
.mceContentBody h5:not(.editor-ttl2) {
  font-weight: normal;
  border-left: 5px solid;
  padding-left: 10px;
  line-height: 1;
  margin-bottom: 20px;
}
.mceContentBody h1 {  font-size: 172%;}
.mceContentBody h2 {  font-size: 158%;}
.mceContentBody h3 {  font-size: 143%;}
.mceContentBody h4:not(.editor-ttl) {  font-size: 129%;}
.mceContentBody h5:not(.editor-ttl2) {  font-size: 115%;}

.mceContentBody p {
  letter-spacing: 0.1em;
}
.mceContentBody p:not(:last-child) {
  margin-bottom: 1em;
}
.mceContentBody blockquote{
  margin: 1em 0;
  padding: 15px 40px;
  border-radius: 3px;
  position: relative;
  display: inline-block;
  font-style: oblique;
  color: #666;
}
.mceContentBody blockquote p {margin-bottom: 0;}
.mceContentBody blockquote:before,
.mceContentBody blockquote:after {
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
  font-size: 100%;
  position: absolute;
  width: 1em;
  height: 1em;
}
.mceContentBody blockquote:before {
  content: "\f10d";
  top: 13px;
  left: 10px;
}
.mceContentBody blockquote:after {
  content: "\f10e";
  bottom: 13px;
  right: 10px;
}
/*table scroll*/
.scroll {
  overflow-x: scroll;
  margin: 0 0 24px;
}
.scroll table {
  margin: 0;
}
.scroll--cap {
  text-align: right;
  margin: 24px 0 0 !important;
  opacity: 0.25;
  font-size: 93%;
}

@media (max-width: 767px) {
  .mceContentBody {
    font-size: 100%;
  }
  .mceContentBody .alignright,
  .mceContentBody .alignleft  {
    float: none;
    margin: 20px auto;
    display: block;
  }
  .mceContentBody blockquote {
    padding: 15px;
  }
  .mceContentBody blockquote:before {
    top: 0;
    left: 0;
  }
  .mceContentBody blockquote:after {
    bottom: 0;
    right: 0;
  }
  .mceContentBody ul li,
  .mceContentBody ol li {
    margin-left: 1em;
  }
  .mceContentBody ul li {
    padding-left: 0;
  }
  .mceContentBody ul li:before {
    left: -14px;
    padding-top: 6px;
    font-size: 12px;
  }
}


/* Wysiwyg editor
**************************************** */
.mce-content-body::before, .mce-content-body::after {
  content: "";
  display: table;
}
.mce-content-body::after {
  clear: both;
}

.mce-content-body ol {
  list-style: decimal;
}

.mce-content-body ul:not(:first-child),
.mce-content-body ol:not(:first-child) {
  margin-top: 1em;
}
.mce-content-body ul:not(:last-child),
.mce-content-body ol:not(:last-child) {
  margin-bottom: 1em;
}

.mce-content-body ul li,
.mce-content-body ol li {
  position: relative;
  margin-left: 2.5em;
  padding-top: 0.5em;
}
.mce-content-body ul li::marker,
.mce-content-body ol li::marker {
  color: #900200;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.mce-content-body ul li {
  list-style: none;
}
.mce-content-body ul li::before {
  content: "";
  position: absolute;
  top: 1.0625em;
  left: -2.125em;
  width: 0.625em;
  aspect-ratio: 1/1;
  border: 1px solid #900200;
  background-color: #900200;
}

.mce-content-body ul[style="list-style-type: circle;"] li::before {
  background-color: #fff;
}

.mce-content-body ul:not([style="list-style-type: square;"]) li::before {
  border-radius: 50%;
}

.mce-content-body ol {
  list-style-type: decimal-leading-zero;
}

.mce-content-body img {
  margin: 1em 0;
  max-width: 100%;
  height: auto;
}

.mce-content-body .wp-caption {
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
}

.mce-content-body hr {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-width: 1px;
  border-color: #999;
}

.mce-content-body a img {
  transition: all 0.4s ease-out;
}

.mce-content-body a:hover img {
  opacity: 0.8;
}

.mce-content-body .alignleft {
  float: left;
  clear: left;
  margin-right: 1em;
  margin-bottom: 1em;
}

.mce-content-body .alignright {
  float: right;
  clear: right;
  margin-left: 1em;
  margin-bottom: 1em;
}

.mce-content-body .aligncenter {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
}

.mce-content-body img.aligncenter {
  display: block;
}

.mce-content-body .alignleft:last-child,
.mce-content-body .alignright:last-child,
.mce-content-body .aligncenter:last-child {
  margin-bottom: 0;
}

.mce-content-body p:not(:last-child) {
  margin-bottom: 1em;
}

.mce-content-body strong {
  font-weight: bold;
}

.mce-content-body blockquote {
  margin: 1em 0;
  padding: 1rem 2.5rem;
  border-radius: 0.1875rem;
  position: relative;
  display: inline-block;
  font-style: oblique;
  color: #666;
  background-color: #f8f8f8;
}
.mce-content-body blockquote::before, .mce-content-body blockquote::after {
  content: "";
  position: absolute;
  width: 1em;
  height: 1em;
  opacity: 0.25;
}
.mce-content-body blockquote::before {
  background-image: url("../images/common/icon-quote_left.svg");
  top: 0.875rem;
  left: 0.75rem;
}
.mce-content-body blockquote::after {
  background-image: url("../images/common/icon-quote_right.svg");
  bottom: 0.875rem;
  right: 0.75rem;
}

.mce-content-body blockquote p {
  margin-bottom: 0;
}

.mce-content-body a {
  text-decoration: underline;
}
.mce-content-body a:hover {
  text-decoration: none;
}

.mce-content-body table {
  height: auto !important;
}

.mce-content-body table {
  border: none;
}
.mce-content-body table:not(:first-child) {
  margin-top: 1em;
}
.mce-content-body table:not(:last-child) {
  margin-bottom: 1em;
}

.mce-content-body th,
.mce-content-body td,
.mce-content-body tr {
  height: auto !important;
}

.mce-content-body th,
.mce-content-body td {
  padding: 1em;
  border: 1px solid #999;
  vertical-align: top;
}

.mce-content-body th {
  min-width: 7.5rem;
  text-align: left;
}

.mce-content-body sup {
  font-size: max(10px, 0.75rem);
  color: #555;
}

.bold {
  font-weight: bold;
  color: #900200;
}

/* iframe */
.mce-content-body iframe {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  vertical-align: bottom;
}
.mce-content-body iframe:not(:first-child) {
  margin-top: 2em;
}
.mce-content-body iframe:not(:last-child) {
  margin-bottom: 2em;
}

@media screen and (max-width: 767px) {
  .mce-content-body .alignright,
  .mce-content-body .alignleft {
    width: 100% !important;
  }
  .mce-content-body .alignright,
  .mce-content-body .alignleft {
    float: none;
    margin: 1em auto;
    display: block;
  }
  .mce-content-body blockquote {
    padding: 1rem;
  }
  .mce-content-body blockquote::before {
    top: 0;
    left: 0;
  }
  .mce-content-body blockquote::after {
    bottom: 0;
    right: 0;
  }
  .mce-content-body table {
    max-width: none !important;
  }
  .mce-content-body th {
    font-weight: bold;
  }
  .mce-content-body th,
  .mce-content-body td {
    padding: 0.5em 1em;
  }
  .table-sp-full {
    width: 100% !important;
  }
  .table-sp-full th,
  .table-sp-full td {
    flex: 1;
  }
  .table-sp-block,
  .table-sp-block th,
  .table-sp-block td {
    width: 100% !important;
  }
  .table-sp-block th,
  .table-sp-block td {
    display: block;
  }
  .mce-content-body iframe[src*="google.com/maps"] {
    aspect-ratio: 4/3;
  }
  /* table scroll */
  .table-sp-scroll {
    width: 50rem;
  }
  .scroll {
    overflow-x: scroll;
    margin-bottom: 1em;
    -webkit-overflow-scrolling: touch;
  }
  .scroll table {
    margin: 0;
  }
  .scroll--cap {
    margin: 1em 0 0 !important;
  }
  .scroll--cap {
    text-align: right;
    opacity: 0.25;
    font-size: max(12px, 0.875rem);
  }
}

/* AddQuicktag
*************************************************** */
/* 見出し */
.editor-ttl,
.editor-ttl2 {
  font-family: 'A1明朝';
}
.editor-ttl:not(:first-child),
.editor-ttl2:not(:first-child),
.editor-ttl3:not(:first-child) {
  margin-top: 24px;
}
@media screen and (max-width: 767px) {
  .editor-ttl:not(:first-child),
  .editor-ttl2:not(:first-child),
  .editor-ttl3:not(:first-child) {
    margin-top: 16px;
  }
}
.editor-ttl:not(:last-child),
.editor-ttl2:not(:last-child),
.editor-ttl3:not(:last-child) {
  margin-bottom: 24px;
}
@media screen and (max-width: 767px) {
  .editor-ttl:not(:last-child),
  .editor-ttl2:not(:last-child),
  .editor-ttl3:not(:last-child) {
    margin-bottom: 16px;
  }
}

.editor-ttl {
  font-size: 200%;
  line-height: 1.75;
  letter-spacing: .175em;
}
@media screen and (max-width: 767px) {
  .editor-ttl {
    font-size: 1.4285714286rem;
  }
}

.editor-ttl2 {
  font-size: 150%;
  line-height: 2;
  letter-spacing: .1em;
}
@media screen and (max-width: 767px) {
  .editor-ttl2 {
    font-size: 1.2857142857rem;
  }
}

.editor-ttl3 {
  font-size: 137.5%;
  line-height: 2;
  letter-spacing: .1em;
}
@media screen and (max-width: 767px) {
  .editor-ttl3 {
    font-size: 1.1428571429rem;
  }
}

.blog--info .mce-content-body {
  padding: 0 10px;
}
.post-editor-ttl,
.post-editor-ttl2,
.post-editor-ttl3 {
  padding: 0 10px;
  margin: 0 -5px;
  border-left: none !important;
  font-weight: bold;
  font-family: 'こぶりなゴシック W6 JIS2004', 'Koburina Gothic W6 JIS2004', "メイリオ", 'Meiryo','Lato', 'YuGothic', '游ゴシック', 'ヒラギノ角ゴ Pro W6', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', sans-serif;
}
.post-editor-ttl:not(:first-child),
.post-editor-ttl2:not(:first-child),
.post-editor-ttl3:not(:first-child) {
  margin-top: 1.5em;
}
.post-editor-ttl {
  position: relative;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid #555;
  font-size: 132%; /* 21px */
}
.post-editor-ttl::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100px;
  height: 3px;
  background-color: #910000;
}
.post-editor-ttl2 {
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 1px dashed #910000;
  font-size: 120%; /* 19px */
}
.post-editor-ttl3 {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  font-size: 120%; /* 19px */
}
.post-editor-ttl3::before {
  content: "";
  position: absolute;
  top: .58em;
  left: 0;
  width: 14px;
  height: 3px;
  background-color: #910000;
}

/* 注意書き */
.txt-attention {
  display: block;
  text-indent: -1em;
  padding-left: 1em;
  font-size: max(12px, 0.875rem);
  opacity: 0.6;
}
@media screen and (max-width: 767px) {
  .txt-attention {
    font-size: 0.9285714286rem;
  }
}
.txt-attention::before {
  content: "※";
}

.deco-txt span {
  display: inline-block;
  background-color: #b3aaa9;
  padding: 2px 10px;
  border-radius: 2px;
  font-size: 87.5%;
  color: #fff;
}

/* テーブル */
.table1 th,
.table1 td {
  position: relative;
  border: 0;
  border-bottom: 1px dashed #999;
  padding: 1em 1.5em;
}

.table2 {
  background-color: #fff;
}
.table2 th {
  background-color: #f4efe9;
}
@media print, screen and (min-width: 48em) {
  .table2 th:not(:last-child) {
    border-right: 0;
  }
  .table2 td:not(:first-child) {
    border-left: 0;
  }
}

/* ボックス */
.box {
  padding: 1.5rem 2rem;
  background-color: #f4f2f3;
  border-radius: 8px;
}
@media screen and (max-width: 767px) {
  .box {
    padding: 1.5rem;
  }
}
.box:not(:first-child) {
  margin-top: 2em;
}
.box:not(:last-child) {
  margin-bottom: 2em;
}
.box * {
  color: #333;
}

.lps_sec:nth-child(even) *:not(.bg-wh) .box,
.lps_sec[style*=background-color] *:not(.bg-wh) .box {
  background-color: #fff;
}

/* リスト */
ul.check--list li::before, ul.check--list li::after {
  content: "";
  position: absolute;
}
ul.check--list li::before {
  top: 0.625em;
  left: -2.5em;
  width: 1.5em;
  aspect-ratio: 1/1;
  background-color: #900200;
  border-radius: 50%;
}
ul.check--list li::after {
  top: 1.0625em;
  left: -2.0625em;
  width: 0.625em;
  height: 0.4375em;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

@media screen and (max-width: 767px) {
  /* テーブル */
  .table1.table-sp-block td::before {
    display: none;
  }
  .table2.table-sp-block th,
  .table2.table-sp-block td {
    border-bottom: 0;
  }
  .table2.table-sp-block tr:last-child > *:last-child {
    border-bottom: 1px solid #999;
  }
}


/* btn
********************************************** */
.btn:not([class*="mgn-btm"]):not(:last-child) {
  margin-bottom: 0.5rem;
}
@media screen and (min-width: 768px) {
  .lps_parts--button .btn:not([class*="mgn-btm"]):not(:last-child) {
    margin-bottom: 0;
  }
}

.btn a {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0.875rem 2.5rem 0.875rem 2rem;
  width: -moz-fit-content;
  width: fit-content;
  min-width: min(17.5rem, 100%);
}
.btn:not(.btn-line) a {
  color: #fff;
  background-color: #900200;
  border: 1px solid #900200;
}
@media screen and (max-width: 767px) {
  .btn a {
    min-width: 100%;
    padding: 0.875rem 16px 0.875rem 8px;
  }
}
.btn:not(.btn-line) a:hover {
  background-color: #fff;
  color: #900200;
}
.btn.btn-line a {
  border-bottom: 1px solid;
  color: #900200;
  text-align: center;
  font-family: 'A1明朝';
  font-size: 94%;
}
.btn a:not([target=_blank]):not([href$=".pdf"]):not([href$=".jpg"]):not([href$=".png"])::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 2.25rem;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 2px solid;
  border-right: 2px solid;
  transform: rotate(45deg);
  transition: all 0.4s ease-out;
}
.btn-line a:not([target=_blank]):not([href$=".pdf"]):not([href$=".jpg"]):not([href$=".png"])::before {
  top: .25em;
  right: 1.25rem;
  border-top: 1px solid;
  border-right: 1px solid;
}
.btn-line a:hover:not([target=_blank]):not([href$=".pdf"]):not([href$=".jpg"]):not([href$=".png"])::before {
  right: 1rem;
}
@media screen and (max-width: 767px) {
  .btn a:not([target=_blank]):not([href$=".pdf"]):not([href$=".jpg"]):not([href$=".png"])::before,
  .btn-line a:not([target=_blank]):not([href$=".pdf"]):not([href$=".jpg"]):not([href$=".png"])::before {
    top: 0;
    right: 8px;
  }
}
.btn a svg {
  right: 1.5rem;
  fill: #fff;
}
.btn-line a svg {
  right: 10px;
  fill: #900200;
}

.btn.btn-ctr a {
  margin-left: auto;
  margin-right: auto;
}

/* --- btn-wh --- */
.btn-wh a {
  color: #900200;
  background-color: #fff;
}
.btn-wh a:hover {
  color: #fff;
  background-color: #900200;
}
.btn-wh a svg {
  fill: #900200;
}
.btn-wh a:hover svg {
  fill: #fff;
}

/* --- btn-cta --- */
.btn-cta a {
  background-color: #e17a40;
}
.btn-cta a:hover {
  background-color: #dd6b2a;
}

/* --- btn-arrow --- */
.btn-arrow a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-left: -1em;
  margin-right: -1em;
  padding: 1em;
}
.btn-arrow a:hover {
  color: #900200;
}
.btn-arrow a::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  color: #900200;
  color: var(--clr-main);
  transform: rotate(45deg);
  border-top: 2px solid;
  border-right: 2px solid;
}

/* --- 横並び --- */
.flex > .btn {
  margin-bottom: 0;
}
.flex > .btn:first-child {
  margin-left: auto;
}
.flex > .btn:last-child {
  margin-right: auto;
}
@media print, screen and (min-width: 48em) {
  .flex > .btn:only-child {
    width: -moz-fit-content;
    width: fit-content;
    min-width: min(17.5rem, 100%);
  }
}
.flex > .btn a {
  min-width: 100%;
  height: 100%;
}

/* 目次 */
#ez-toc-container {
  min-width: 214px;
  padding: 24px;
  background-color: transparent;
  border-radius: 10px;
  border: 1px solid #910000;
}
.ez-toc-title {
  color: #910000;
}
.ez-toc-list {
  margin-top: 16px !important;
  font-size: 94%;
}
.ez-toc-list li:not(:last-child) {
  margin-bottom: 8px !important;
}
.ez-toc-list li a {
  position: relative;
  display: block;
  padding-left: 18px;
}
.ez-toc-list li a::before {
  content: "";
  position: absolute;
  top: .75em;
  left: 0;
  width: 6px;
  height: 1px;
  background-color: #910000;
}
.ez-toc-js-icon-con {
  width: 64px !important;
  height: 25px;
}
.ez-toc-icon-toggle-span {
  width: 100%;
  height: 100%;
  border-color: #C2C2C2;
  color: #616161;
}
.ez-toc-icon-toggle-span::before {
  content: "閉じる";
  display: inline-block;
  font-size: 80%;
  letter-spacing: 0;
}
.ez-toc-icon-toggle-span svg { display: none; }

@media screen and (max-width: 767px) {
  #ez-toc-container {
    width: 100%;
  }
}