/* Wysiwyg editor
 **************************************** */
.mce-content-body {
  max-width: 100%;
  text-align: justify;
}
.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: 0;
  border-bottom: none;
  padding: 0;
  padding-top: 4px;
  padding-bottom: 4px;
  line-height: 1.65;
}
.mce-content-body ul li {
  list-style-type: disc;
  margin-left: 1.5em;
}
.mce-content-body ol li {
  list-style-type: decimal;
  margin-left: 2em;
}
.mce-content-body img {
  margin: 20px 0;
  max-width: 100%;
  height: auto;
}
.mce-content-body hr {
  background: transparent;
}
.mce-content-body .alignleft {
  float: left;
  clear: left;
  margin: 0 30px 30px 0;
}
.mce-content-body .alignright {
  float: right;
  clear: right;
  margin: 0 0 30px 30px;
}
.mce-content-body .aligncenter {
  display: block;
  margin: 20px auto;
}
.mce-content-body strong {
  background: linear-gradient(transparent 60%, rgba(255, 242, 149, 0.6) 60%);
}
.mce-content-body p {
  letter-spacing: 0.1em;
}
.mce-content-body p:not(:last-child) {
  margin-bottom: 1em;
}
.mce-content-body blockquote {
  margin: 1em 0;
  padding: 15px 40px;
  border-radius: 3px;
  position: relative;
  display: inline-block;
  font-style: oblique;
  color: #666;
  background-color: #f8f8f8;
}
.mce-content-body blockquote p {
  margin-bottom: 0;
}
.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: 13px;
  left: 10px;
}
.mce-content-body blockquote::after {
  background-image: url("../images/common/icon-quote_right.svg");
  bottom: 13px;
  right: 10px;
}
.mce-content-body a:hover {
  text-decoration: underline;
}
.mce-content-body .footer_text small {
  display: block;
  margin-top: 8px;
  text-align: right;
}
.mce-content-body table {
  border: none;
  height: auto !important;
}
.mce-content-body table:not(:first-child) {
  margin-top: 1em;
}
.mce-content-body table:not(:last-child) {
  margin-bottom: 1em;
}
.mce-content-body tr {
  position: relative;
  background-repeat: repeat-x;
  background-position: left bottom;
}
.mce-content-body th,
.mce-content-body td,
.mce-content-body tr {
  height: auto !important;
}
.mce-content-body th,
.mce-content-body td {
  padding: 12px;
}
.mce-content-body th {
  padding-right: 16px;
  min-width: 132px;
  vertical-align: middle;
  line-height: 1.8;
  text-align: left;
  font-weight: normal;
  padding-left: 24px;
  padding-right: 16px;
}
.mce-content-body td {
  flex: 1;
  line-height: 1.8;
  vertical-align: middle;
}
.mce-content-body sup {
  font-size: 70%;
  color: #555;
}

/*iframe--youtube*/
.mce-content-body .iframe--youtube {
  position: relative;
  margin-bottom: 40px;
  padding-top: calc(100% * 0.5625);
}
.mce-content-body .iframe--youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*table scroll*/
.scroll {
  overflow-x: scroll;
  margin-bottom: 1em;
  -webkit-overflow-scrolling: touch;
}
.scroll table {
  margin: 0;
}
.scroll--cap {
  text-align: right;
  margin: 24px 0 0 !important;
  opacity: 0.25;
  font-size: 93%;
}

@media (max-width: 1080px) {
  .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;
  }
}
@media (max-width: 767px) {
  .mce-content-body {
    font-size: 100%;
  }
  .mce-content-body .alignright,
  .mce-content-body .alignleft {
    width: 100% !important;
    float: none;
    margin: 20px auto;
    display: block;
  }
  .mce-content-body blockquote {
    padding: 15px;
  }
  .mce-content-body blockquote::before {
    top: 0;
    left: 0;
  }
  .mce-content-body blockquote::after {
    bottom: 0;
    right: 0;
  }
  .mce-content-body ul li {
    padding-left: 0;
  }
  .mce-content-body ul li::before {
    left: -14px;
    padding-top: 6px;
    font-size: 12px;
  }
  .mce-content-body .col-md-6:first-child {
    margin-bottom: 24px;
  }
  .mce-content-body th {
    padding-right: 8px;
    padding-bottom: 0;
    font-weight: bold;
  }
  .mce-content-body th,
  .mce-content-body td {
    padding: 8px;
  }
}

/* 管理画面エディタ用
*************************************************** */
.mce-content-body.wp-editor {
  padding: 24px !important;
  max-height: 100vh !important;
  overflow-y: scroll !important;
}
.mce-content-body table {
  margin-left: auto;
  margin-right: auto;
  border-top: solid 1px #ccc;
  background-color: #fff;
}
.mce-content-body table th,
.mce-content-body table td {
  padding: 28px 40px;
  border-bottom: solid 1px #ccc;
}
.mce-content-body table.table2 th,
.mce-content-body table.table2 td {
  padding: 16px;
  border: solid 1px #ccc;
}
.mce-content-body table.table2 th {
  color: #fff;
  font-weight: 700;
  background-color: rgb(25, 47, 96);
}
/* 見出し */
.mce-ttl-01,
.mce-ttl-02,
.mce-ttl-03 {
  font-family: var(--font-jp);
}

.mce-ttl-01:not(:first-child),
.mce-ttl-02:not(:first-child),
.mce-ttl-03:not(:first-child) {
  margin-top: 2em;
}

.mce-ttl-01:not(:last-child),
.mce-ttl-02:not(:last-child),
.mce-ttl-03:not(:last-child) {
  margin-bottom: 1em;
}

@media screen and (max-width: 767px) {
  .mce-ttl-01:not(:first-child),
  .mce-ttl-02:not(:first-child),
  .mce-ttl-03:not(:first-child) {
    margin-top: 1.5em;
  }

  .mce-ttl-01:not(:last-child),
  .mce-ttl-02:not(:last-child),
  .mce-ttl-03:not(:last-child) {
    margin-bottom: 0.75em;
  }
}

.mce-ttl-01 {
  font-size: clamp(24px, 3.75vw, 213%);
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: var(--clr-text-primary);
}
.mce-ttl-01 strong {
  background: inherit;
}

@media screen and (max-width: 767px) {
  .mce-ttl-01 {
    font-size: clamp(20px, 4.5vw, 160%);
  }
}

.mce-ttl-02 {
  padding-left: 32px;
  border-left: 6px solid var(--clr-primary-default);
  font-size: clamp(22px, 3.33vw, 187%);
  letter-spacing: 0.03em;
  line-height: 1.7;
  color: var(--clr-text-primary);
}
.mce-ttl-02:has(.num) {
  display: flex;
  align-items: center;
  padding: 0;
  border: none;
  .num {
    padding-right: 32px;
    font-size: clamp(36px, 5vw, 300%);
    line-height: 0.86;
    color: var(--clr-primary-default);
  }
  span:last-child {
    color: var(--clr-text-primary);
  }
}

@media screen and (max-width: 767px) {
  .mce-ttl-02 {
    font-size: clamp(18px, 4vw, 133%);
  }
}

.mce-ttl-03 {
  padding: 16px 32px;
  border-radius: 4px;
  font-size: clamp(20px, 3.33vw, 160%);
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--clr-text-primary);
  background-color: var(--bg-01);
}

@media screen and (max-width: 767px) {
  .mce-ttl-03 {
    font-size: clamp(16px, 4vw, 100%);
  }
}

@-moz-document url-prefix() {
  .mce-content-body table.table2 {
    border-collapse: separate;
  }
}
@media (max-width: 767px) {
  .mce-content-body.wp-editor table tr *:first-child:nth-last-child(2),
  .mce-content-body.wp-editor table tr *:first-child:nth-last-child(2) ~ * {
    display: table-cell;
    width: auto !important;
  }
  .mce-content-body table th {
    padding: 8px 12px;
    font-size: 108%;
  }
  .mce-content-body table td {
    padding: 12px 12px;
    line-height: 1.6;
  }
  .mce-content-body table.table2 th,
  .mce-content-body table.table2 td {
    padding: 12px;
  }
}

/* 管理画面エディタ用-roumukanrinavi
*************************************************** */
.single-roumukanrinavi.single .section_ttl {
  font-size: 2.8rem;
}
.single-roumukanrinavi .mce-content-body {
  text-align: left;
  font-weight: bold;
}
.single-roumukanrinavi .mce-content-body,
.single-roumukanrinavi .mce-content-body .box--txt {
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .single-roumukanrinavi .mce-content-body,
  .single-roumukanrinavi .mce-content-body .box--txt {
    font-size: 14px;
  }
}

.single-download .mce-content-body .editor-ttl,
.single-roumukanrinavi h2.paragraph,
.single-roumukanrinavi .blog-ttl00,
.single-interview .blog-ttl00,
.single-interview h2.paragraph,
.single-download .blog-ttl00 {
  margin-top: 60px;
  background: rgb(25, 47, 96);
  color: #fff;
}
.single-interview .blog-ttl00,
.single-roumukanrinavi .blog-ttl00,
.single-download .blog-ttl00 {
  font-size: 158%;
  padding: 20px 24px;
  margin-bottom: 24px;
  border-radius: 4px;
  line-height: 1.7em;
}
.blog-ttl01 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-top: 40px;
  margin-bottom: 20px;
}
.blog-ttl01 {
  position: relative;
  font-size: 1.25rem;
  padding: 7px 1em;
  margin: 1.4rem 0 1.5rem;
  line-height: 1.6;
}
.blog-ttl01::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 50%;
  border-radius: 4px;
  background: #1d2737;
}
.blog-ttl02 {
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: 2px;
  background-color: rgb(239 241 244);
  width: fit-content;
  padding: 4px 24px 4px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.marker {
  background: linear-gradient(transparent 60%, rgba(255, 242, 149, 0.6) 60%);
}
.mce-content-body .strong {
  font-weight: 700;
}
.mce-content-body .blog_txtbox {
  padding: 25px 40px;
  margin-bottom: 40px;
  line-height: 2.375;
  border-radius: 4px;
}
.mce-content-body .blog_txtbox-1 {
  background: #fff;
  filter: drop-shadow(0 0 8px rgba(44, 112, 189, 0.2));
  border-radius: 4px;
}
.mce-content-body .blog_txtbox-2 {
  background: #fff;
  background-color: rgba(198, 225, 251, 0.24);
  border-radius: 4px;
}
.mce-content-body .blog_txtbox-3 {
  background-color: #fffbf4;
}
.mce-content-body .relation_box {
  padding: 16px 32px;
  border-radius: 4px;
  background: #fff;
  background-color: rgba(198, 225, 251, 0.24);
  border-radius: 4px;
}
.cta-custom {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  background-color: #eff1f4;
  margin-block: 2em;
  padding: 2em;
}
.cta-custom .cta--contact {
  font-size: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(40, 167, 149) !important;
}
.cta-custom .cta--contact .box {
  width: 100%;
}
.cta-custom .cta--contact .box img {
  margin-block: 0;
}
.cta-custom .cta {
  display: block;
  width: 282px;
  margin-top: 0;
}
.cta-custom .cta .btn a::before {
  display: none;
}
.cta-custom .cta-block {
  display: block;
  width: fit-content;
  margin: 0 auto;
}
.cta-custom .cta-block li {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.cta-custom--txt {
  background-color: #fff;
  padding: 2em;
  margin-right: 1em;
  flex: 1;
}
.cta-custom--btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 2em !important;
  color: #fff !important;
  text-decoration: none;
}
.cta-custom--btn:hover {
  text-decoration: none !important;
}
.cta-custom--btn img {
  width: 20px;
  height: auto;
  margin-right: 16px;
}
.cta-custom .btn {
  width: auto;
}
.cta-custom--tel {
  border: 1px solid rgb(25, 47, 96);
}
.cta-custom--tel .num {
  font-size: 200%;
  line-height: 1;
}
.cta-custom--tel .txt {
  display: block;
}
.cta-custom--tel--area {
  border: 1px solid rgb(25, 47, 96);
  background-color: #fff;
}
.cta-custom--tel--area a {
  display: inline-block;
  padding: 0.6em;
  pointer-events: none;
  color: rgb(25, 47, 96);
  text-decoration: none;
}
.cta-custom--tel--area .num img {
  margin-block: 0;
  margin-right: 10px;
  vertical-align: middle;
}
.cta-custom .header--logo {
  text-align: center;
}
.cta-custom .header--logo a {
  text-decoration: none;
  color: #014b91;
}
.cta-custom .header--logo a img {
  margin: 0;
}
.cta-custom .header--logo a:hover {
  text-decoration: none;
}
.cta-custom .font-jp2 {
  font-family: futura-pt-condensed, heisei-kaku-gothic-std, sans-serif;
  font-weight: 700;
}
.cta-custom .cta-custom--tel {
  border: none;
}
@media (max-width: 767px) {
  .cta-custom .cta-custom--tel--area a[href*="tel:"] {
    pointer-events: auto;
    cursor: default;
    text-decoration: none;
  }
}

@media screen and (max-width: 767px) {
  .single-roumukanrinavi.single .section_ttl {
    font-size: 1.5rem;
  }
  .single-download .mce-content-body .editor-ttl,
  .single-roumukanrinavi h2.paragraph,
  .single-roumukanrinavi .blog-ttl00,
  .single-interview h2.paragraph,
  .single-download .blog-ttl00 {
    margin-top: 40px;
  }
  .cta-custom {
    padding: 1em;
    flex-direction: column;
  }
  .cta-custom--txt {
    margin-right: 0;
    padding: 1.5em;
  }
  .cta-custom .cta-block {
    margin-top: 16px;
    width: 100%;
  }
  .cta-custom .cta {
    width: 100%;
    margin-bottom: 0;
  }
  .mce-content-body .relation_box {
    padding: 8px;
  }
  .mce-content-body .relation_box .blog-ttl01 {
    margin-block: 1rem;
  }
  .mce-content-body .relation_box p:not(:last-child) {
    margin-bottom: 0;
  }
}
/* ブログセットプラグイン
*************************************************** */
.blog_cta--link .cta_btn a::before,
.blog_cta--link .cta_btn a::after {
  content: none !important;
}
.blog_cta--link .cta_btn a {
  align-items: center;
}
.contact-icon {
  background-image: url(/wp/wp-content/themes/standard/images/common/icon-mail.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.blog_cta--link .num {
  font-size: 24px;
}
.blog_cta--link .cta_tel {
  background-color: #fff;
  border: solid 1px;
  border-color: rgb(25, 47, 96);
  color: rgb(25, 47, 96);
  background-color: #fff;
  padding: 0.875rem;
}
/* 相談フォーム */
.consul_form {
  padding: 16px 0;
  background-color: #d5ebe8;
}
.side_column .consul_form {
  padding: 14px 0 0;
  margin-bottom: 40px;
}
.consul_form table {
  width: 100%;
  border-top: none;
  background-color: transparent;
}
.consul_form table th,
.consul_form table td {
  display: block;
  padding: 8px 16px;
  border-bottom: none;
}
.consul_form table th {
  padding-bottom: 0;
  text-align: left;
  font-size: 94%;
}
.consul_form input[type="text"],
.consul_form input[type="email"],
.consul_form input[type="tel"] {
  width: 100%;
  height: 36px;
  padding: 8px;
}
.consul_form textarea {
  width: 100%;
  padding: 8px;
}
.consul_form .wpcf7-list-item {
  display: block;
  margin: 0 0 8px;
}
.consul_form .wpcf7-list-item label {
  display: block;
  text-indent: -2em;
  padding-left: 2em;
}
.consul_form input[type="checkbox"] {
  width: 18px;
  height: 18px;
}
.consul_form .wpcf7-confirm,
.consul_form .wpcf7-submit,
.consul_form .wpcf7-back {
  margin-top: 0;
}
.side_column #wpcf7-submit_btn {
  padding-left: 0;
  width: 89%;
  margin: 16px auto 0;
}
.side_column .consul_form .wpcf7-confirm,
.side_column .consul_form .wpcf7-submit,
.side_column .consul_form .wpcf7-back {
  min-width: 100%;
  margin: 0;
  padding: 16px 32px;
}
.consul_form .requiredIcon {
  float: none;
  padding: 0;
  background-color: transparent;
  color: #dd8133;
  vertical-align: middle;
  margin: 0 0 0 2px;
  font-size: 100%;
}
@media screen and (max-width: 767px) {
  .consul_form .wpcf7-list-item-label {
    display: inline;
  }
  .consul_form table th,
  .consul_form table td {
    padding: 4px 12px;
  }
  .consul_form .wpcf7-confirm,
  .consul_form .wpcf7-submit,
  .consul_form .wpcf7-back {
    min-width: 240px;
    padding: 14px 32px;
  }
}
/* --- スクロールバグ対策用の記述 --- */
html:has(> body#tinymce) {
  height: auto !important;
}
