@charset "UTF-8";
/*! 記事の装飾（表示側）。書き出したCSSは直接直さない（直すのは src/scss/content） */
.p-content {
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}
.p-content :where(p) {
  margin: 0;
}
.p-content > * + * {
  margin-top: 1.4em;
}
.p-content > :is(h2, h3, h4) + p {
  margin-top: 0;
}
.p-content a:not(.wp-block-button__link) {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold);
}
.p-content h2 {
  margin: 2.4em 0 1em;
  padding: 14px 22px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #fff;
  background: var(--navy);
  border-radius: 3px;
}
.p-content h3 {
  margin: 2em 0 0.8em;
  padding-bottom: 10px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--navy);
  background: linear-gradient(var(--gold), var(--gold)) left bottom/48px 2px no-repeat, linear-gradient(rgba(168, 135, 78, 0.3), rgba(168, 135, 78, 0.3)) left bottom/100% 1px no-repeat;
}
.p-content h4 {
  margin: 1.8em 0 0.6em;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}
.p-content h4::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--gold);
}
.p-content h2:first-child, .p-content h3:first-child, .p-content h4:first-child {
  margin-top: 0;
}
.p-content strong {
  color: var(--navy);
}
.p-content mark, .p-content .has-marker {
  padding: 0 2px;
  color: inherit;
  background: linear-gradient(transparent 58%, #ffef8a 58%);
}
.p-content ul:not(.wp-block-gallery), .p-content ol {
  padding-left: 0;
  list-style: none;
}
.p-content ul:not(.wp-block-gallery) li, .p-content ol li {
  position: relative;
  padding-left: 1.4em;
}
.p-content ul:not(.wp-block-gallery) li + li, .p-content ol li + li {
  margin-top: 0.4em;
}
.p-content ul:not(.wp-block-gallery) > li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.82em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.p-content ol {
  counter-reset: n;
}
.p-content ol > li {
  counter-increment: n;
  padding-left: 1.8em;
}
.p-content ol > li::before {
  content: counter(n) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--gold);
}
.p-content .wp-block-table {
  overflow-x: auto;
}
.p-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.p-content .wp-block-table th, .p-content .wp-block-table td {
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(168, 135, 78, 0.3);
  text-align: left;
  vertical-align: top;
}
.p-content .wp-block-table th, .p-content .wp-block-table tr > td:first-child {
  white-space: nowrap;
  font-weight: 700;
  color: var(--navy);
}
.p-content .wp-block-table thead th {
  background: var(--paper);
}
.p-content .wp-block-table figcaption {
  margin-top: 8px;
  font-size: 13px;
}
.p-content blockquote, .p-content .wp-block-quote {
  margin-left: 0;
  margin-right: 0;
  padding: 22px 26px;
  background: var(--paper);
  border: 0;
  border-radius: 4px;
}
.p-content blockquote p, .p-content .wp-block-quote p {
  margin: 0;
}
.p-content blockquote cite, .p-content .wp-block-quote cite {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-style: normal;
}
.p-content .is-style-point, .p-content .is-style-note {
  padding: 24px 28px;
  border-radius: 4px;
}
.p-content .is-style-point > * + *, .p-content .is-style-note > * + * {
  margin-top: 0.8em;
}
.p-content .is-style-point {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(168, 135, 78, 0.45);
}
.p-content .is-style-point::before {
  content: "ポイント";
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--gold);
  border-radius: 2px;
}
.p-content .is-style-note {
  background: var(--paper);
}
.p-content .is-style-note::before {
  content: "補足";
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.p-content .is-style-lead {
  font-size: 18px;
  line-height: 1.95;
  color: var(--navy);
}
.p-content p.is-style-caution {
  padding-left: 1.4em;
  text-indent: -1.4em;
  font-size: 14px;
}
.p-content p.is-style-caution::before {
  content: "※";
  display: inline-block;
  width: 1.4em;
  text-indent: 0;
  color: var(--navy);
}
.p-content .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.p-content .wp-block-button__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 52px 0 32px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: #e8dcc4;
  border-radius: 4px;
  box-shadow: 0 5px 0 #b39a6e;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.p-content .wp-block-button__link::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.p-content .wp-block-button__link:hover {
  transform: translateY(5px);
  box-shadow: 0 0 0 #b39a6e;
}
.p-content figure {
  margin-left: 0;
  margin-right: 0;
}
.p-content img {
  max-width: 100%;
  height: auto;
  border-radius: 3px;
}
.p-content figcaption {
  font-size: 13px;
  text-align: center;
}
.p-content hr, .p-content .wp-block-separator {
  margin: 2.4em auto;
  border: 0;
  height: 1px;
  background: rgba(168, 135, 78, 0.45);
}
@media (max-width: 767px) {
  .p-content {
    font-size: 15px;
  }
  .p-content h2 {
    font-size: 18px;
    padding: 12px 16px;
  }
  .p-content h3 {
    font-size: 17px;
  }
  .p-content .is-style-point, .p-content .is-style-note {
    padding: 20px 18px;
  }
}

.p-content :is(.is-style-point, .is-style-note, .is-style-box-caution) > :is(h2, h3, h4) {
  margin: 0;
  padding: 0;
  color: var(--navy);
  background: none;
  border-radius: 0;
  font-size: 17px;
}
.p-content :is(.is-style-point, .is-style-note, .is-style-box-caution) > * + :is(h2, h3, h4) {
  margin-top: 1.2em;
}
.p-content :is(.is-style-point, .is-style-note, .is-style-box-caution) h4::before {
  display: none;
}
.p-content .wp-block-group.is-style-box-caution {
  padding: 24px 28px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(30, 52, 84, 0.55);
}
.p-content .wp-block-group.is-style-box-caution > * + * {
  margin-top: 0.8em;
}
.p-content .wp-block-group.is-style-box-caution::before {
  content: "注意";
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--navy);
  border-radius: 2px;
}
@media (max-width: 767px) {
  .p-content .wp-block-group.is-style-box-caution {
    padding: 20px 18px;
  }
}
.p-content ul.wp-block-list.is-style-check {
  padding: 22px 26px;
  background: var(--paper);
  border-radius: 4px;
}
.p-content ul.wp-block-list.is-style-check > li {
  padding-left: 2em;
}
.p-content ul.wp-block-list.is-style-check > li::before {
  content: "";
  left: 0;
  top: 0.3em;
  width: 1.3em;
  height: 1.3em;
  border-radius: 3px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--gold);
}
.p-content ul.wp-block-list.is-style-check > li::after {
  content: "";
  position: absolute;
  left: 0.47em;
  top: 0.48em;
  width: 0.36em;
  height: 0.68em;
  border: solid var(--gold);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media (max-width: 767px) {
  .p-content ul.wp-block-list.is-style-check {
    padding: 18px 18px;
  }
}
.p-content .wp-block-pullquote {
  margin: 2.4em 0;
  padding: 34px 24px 30px;
  text-align: center;
  border: 0;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(168, 135, 78, 0.45);
}
.p-content .wp-block-pullquote blockquote {
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
}
.p-content .wp-block-pullquote p {
  font-family: var(--serif);
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.p-content .wp-block-pullquote cite {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  font-style: normal;
  text-transform: none;
  color: var(--text);
}
@media (max-width: 767px) {
  .p-content .wp-block-pullquote {
    padding: 26px 8px 22px;
  }
}
.p-content .wp-block-details {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(168, 135, 78, 0.45);
}
.p-content .wp-block-details summary {
  position: relative;
  padding: 18px 56px 18px 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.7;
  list-style: none;
  cursor: pointer;
}
.p-content .wp-block-details summary::-webkit-details-marker {
  display: none;
}
.p-content .wp-block-details summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  translate: 0 -50%;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  transition: rotate 0.3s;
}
.p-content .wp-block-details[open] summary::after {
  rotate: 45deg;
}
.p-content .wp-block-details > :not(summary) {
  margin: 0;
  padding: 0 22px 20px;
}
.p-content .wp-block-details + .wp-block-details {
  margin-top: 12px;
}
@media (max-width: 767px) {
  .p-content .wp-block-details summary {
    padding: 16px 48px 16px 18px;
  }
  .p-content .wp-block-details summary::after {
    right: 18px;
  }
  .p-content .wp-block-details > :not(summary) {
    padding: 0 18px 18px;
  }
}
.p-content .wp-block-group:is(.is-style-balloon-lawyer, .is-style-balloon-client) {
  --icon: 56px;
  position: relative;
  max-width: calc(100% - var(--icon) - 18px);
  padding: 18px 22px;
  border-radius: 6px;
}
.p-content .wp-block-group:is(.is-style-balloon-lawyer, .is-style-balloon-client) > * + * {
  margin-top: 0.6em;
}
.p-content .wp-block-group:is(.is-style-balloon-lawyer, .is-style-balloon-client)::before {
  position: absolute;
  top: 0;
  display: grid;
  place-items: center;
  width: var(--icon);
  height: var(--icon);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
}
.p-content .wp-block-group:is(.is-style-balloon-lawyer, .is-style-balloon-client)::after {
  content: "";
  position: absolute;
  top: 18px;
  border: 9px solid transparent;
}
@media (max-width: 767px) {
  .p-content .wp-block-group:is(.is-style-balloon-lawyer, .is-style-balloon-client) {
    --icon: 48px;
    padding: 14px 16px;
  }
}
.p-content .wp-block-group.is-style-balloon-lawyer {
  margin-left: calc(var(--icon) + 18px);
  background: var(--paper);
}
.p-content .wp-block-group.is-style-balloon-lawyer::before {
  content: "弁護士";
  left: calc(-1 * (var(--icon) + 18px));
  color: #fff;
  background: var(--navy);
}
.p-content .wp-block-group.is-style-balloon-lawyer::after {
  left: -17px;
  border-right-color: var(--paper);
}
.p-content .wp-block-group.is-style-balloon-client {
  margin-left: auto;
  margin-right: calc(var(--icon) + 18px);
  background: #ede5d6;
}
.p-content .wp-block-group.is-style-balloon-client::before {
  content: "ご相談者";
  right: calc(-1 * (var(--icon) + 18px));
  color: var(--navy);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--gold);
}
.p-content .wp-block-group.is-style-balloon-client::after {
  right: -17px;
  border-left-color: #ede5d6;
}
.p-content .wp-block-group:is(.is-style-balloon-lawyer, .is-style-balloon-client) + .wp-block-group:is(.is-style-balloon-lawyer, .is-style-balloon-client) {
  margin-top: 1.2em;
}
.p-content .wp-block-group.is-article-cta {
  padding: 24px 28px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(168, 135, 78, 0.45);
}
.p-content .wp-block-group.is-article-cta > * + * {
  margin-top: 0.8em;
}
.p-content .wp-block-group.is-article-cta > .wp-block-buttons {
  margin-top: 1.2em;
}
@media (max-width: 767px) {
  .p-content .wp-block-group.is-article-cta {
    padding: 20px 18px;
  }
}
.p-content .wp-block-button.is-cta .wp-block-button__link {
  color: #fff;
  background: var(--accent);
  border-radius: 3px;
  box-shadow: 0 5px 0 var(--accent-dark, #8f3019);
}
.p-content .wp-block-button.is-cta .wp-block-button__link:hover {
  box-shadow: 0 0 0 var(--accent-dark, #8f3019), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
.p-content .is-style-point > .wp-block-buttons {
  margin-top: 1.2em;
}
.p-content .wp-block-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.p-content .wp-block-file .wp-block-file__button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: #e8dcc4;
  border-radius: 4px;
  box-shadow: 0 3px 0 #b39a6e;
}
.p-content .has-navy-color {
  color: var(--navy);
}
.p-content .has-gold-color {
  color: var(--gold);
}
.p-content .has-accent-color {
  color: var(--accent);
}
.p-content .has-ink-color {
  color: var(--text);
}
.p-content .has-paper-color {
  color: var(--paper);
}
.p-content .has-white-color {
  color: #fff;
}
.p-content .has-navy-background-color {
  background-color: var(--navy);
}
.p-content .has-gold-background-color {
  background-color: var(--gold);
}
.p-content .has-accent-background-color {
  background-color: var(--accent);
}
.p-content .has-ink-background-color {
  background-color: var(--text);
}
.p-content .has-paper-background-color {
  background-color: var(--paper);
}
.p-content .has-white-background-color {
  background-color: #fff;
}
.p-content .has-small-font-size {
  font-size: 14px;
}
.p-content .has-normal-font-size {
  font-size: 16px;
}
.p-content .has-large-font-size {
  font-size: 19px;
  line-height: 1.85;
}

.p-content .ms-toc {
  margin: 2.4em 0;
  padding: 30px 34px 32px;
  background: var(--paper);
  border-radius: 4px;
}
@media (max-width: 767px) {
  .p-content .ms-toc {
    padding: 24px 18px 26px;
  }
}
.p-content .ms-toc a {
  color: var(--text);
  text-decoration: none;
}
.p-content .ms-toc a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.p-content .ms-toc__title {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 12px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-align: center;
  color: var(--navy);
}
@media (max-width: 767px) {
  .p-content .ms-toc__title {
    font-size: 18px;
  }
}
.p-content .ms-toc__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40px;
  height: 2px;
  translate: -50% 0;
  background: var(--gold);
}
.p-content .ms-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  font-size: 17px;
  line-height: 1.7;
}
@media (max-width: 767px) {
  .p-content .ms-toc__list {
    font-size: 16px;
  }
}
.p-content .ms-toc__list > li {
  position: relative;
  padding-left: 2.2em;
  counter-increment: toc;
}
.p-content .ms-toc__list > li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
}
.p-content .ms-toc__list li + li {
  margin-top: 0.7em;
}
.p-content .ms-toc__list > li > a {
  font-weight: 700;
}
.p-content .ms-toc__sub {
  margin: 0.5em 0 0;
  padding-left: 0;
  list-style: none;
  font-size: 15px;
}
.p-content .ms-toc__sub > li {
  position: relative;
  padding-left: 1.1em;
}
.p-content .ms-toc__sub > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 7px;
  height: 1px;
  border-radius: 0;
  background: var(--gold);
}
.p-content .ms-toc__sub li + li {
  margin-top: 0.35em;
}
.p-content :is(h2, h3) {
  scroll-margin-top: 24px;
}
@media (min-width: 1025px) {
  .p-content :is(h2, h3) {
    scroll-margin-top: calc(92px - var(--header-h, 104px));
  }
}

.ms-toc__note {
  margin: 0;
  font-size: 14px;
  text-align: center;
}
