@charset "UTF-8";
/* Web開業ノート imported page bodies only.
 * Enqueued by the plugin only for the fourteen project pages with wk-* body classes.
 * No global body, heading, navigation, table, or theme layout overrides.
 * The calculator's .webkaigyo-calculator .wk-* selectors remain more specific.
 */

.wk-lead {
  color: #506571;
  font-size: 1.05em;
  line-height: 1.9;
}

.wk-meta {
  color: #506571;
  font-size: .875em;
  line-height: 1.75;
}

.wk-table-scroll {
  max-width: 100%;
  margin: 1.5em 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid #d9e2e7;
  border-radius: 6px;
}

.wk-table-scroll table {
  width: 100%;
  min-width: 520px;
  margin: 0;
  border-collapse: collapse;
  font-size: .9375em;
  line-height: 1.75;
}

.wk-table-scroll th,
.wk-table-scroll td {
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #d9e2e7;
  text-align: left;
  vertical-align: top;
}

.wk-table-scroll th {
  background: #eff4f5;
  color: #132d3a;
  font-weight: 700;
  white-space: nowrap;
}

.wk-table-scroll tbody tr:last-child td {
  border-bottom: 0;
}

.wk-callout {
  margin: 1.75em 0;
  padding: 23px;
  border-radius: 8px;
  background: #e3f5ec;
  color: #132d3a;
}

.wk-callout > h3 {
  margin-top: 0;
}

.wk-callout > :last-child {
  margin-bottom: 0;
}

.wk-callout > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #006858;
  border-radius: 6px;
  background: #006858;
  color: #fff;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
}

.wk-callout > a:hover {
  border-color: #004f43;
  background: #004f43;
  color: #fff;
}

.wk-callout > a:focus-visible {
  outline: 3px solid #c18900;
  outline-offset: 4px;
}

.wk-status-note {
  margin: 1.5em 0;
  padding: 16px 20px;
  border: 1px solid #e7d29c;
  border-radius: 7px;
  background: #fff6df;
  color: #132d3a;
  font-size: .9375em;
  line-height: 1.8;
}

.wk-note {
  margin: 1.25em 0;
  padding: 8px 0 8px 16px;
  border-left: 3px solid #9eb6c2;
  color: #506571;
  font-size: .875em;
  line-height: 1.8;
}

.wk-sources {
  margin-top: 2.25em;
  padding-top: 1.5em;
  border-top: 1px solid #d9e2e7;
}

.wk-sources > h2 {
  margin-top: 0;
}

.wk-source-item {
  margin: 0 0 1em;
  font-size: .9375em;
  line-height: 1.8;
}

.wk-source-item a {
  overflow-wrap: anywhere;
}

.wk-source-item small {
  color: #506571;
  font-size: .875em;
}

@media (max-width: 600px) {
  .wk-callout {
    padding: 20px;
  }

  .wk-table-scroll th,
  .wk-table-scroll td {
    padding: 12px 14px;
  }
}

/* Reading aids are opt-in: nine articles and the homepage directory only.
 * The calculator and other page bodies do not use these wrappers.
 */
.wk-article-reader {
  min-width: 0;
  max-width: 100%;
  padding: 0;
  line-height: 1.9;
  overflow-wrap: break-word;
}

.wk-article-reader [id] {
  scroll-margin-top: 6rem;
}

.wk-article-reader .wk-reader-summary,
.wk-article-reader .wk-reader-toc {
  margin: 1.5em 0;
  padding: 20px;
  border: 1px solid #bddace;
  border-radius: 8px;
  background: #f4faf7;
  color: #132d3a;
}

.wk-article-reader .wk-reader-summary {
  border-left: 4px solid #006858;
  background: #e3f5ec;
}

.wk-article-reader .wk-summary-label,
.wk-article-reader .wk-toc-label {
  margin: 0 0 .6em;
  color: #005748;
  font-size: 1em;
  font-weight: 700;
}

.wk-article-reader .wk-reader-summary > :last-child,
.wk-article-reader .wk-reader-toc > :last-child {
  margin-bottom: 0;
}

.wk-article-reader .wk-reader-toc ul {
  padding-left: 1.3em;
  margin: .5em 0 0;
}

.wk-article-reader .wk-reader-toc li {
  margin: .45em 0;
  line-height: 1.75;
}

.wk-article-reader .wk-reader-toc a,
.wk-topic-directory a {
  color: #005748;
  text-decoration: underline;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

.wk-article-reader .wk-reader-toc a:focus-visible,
.wk-topic-directory a:focus-visible,
.wk-article-reader .wk-table-scroll:focus-visible {
  outline: 3px solid #a66b00;
  outline-offset: 4px;
}

.wk-article-reader .wk-table-scroll th {
  white-space: normal;
  overflow-wrap: anywhere;
}

.wk-article-reader .wk-table-scroll.wk-table-compact table {
  min-width: 0;
  table-layout: fixed;
}

.wk-article-reader .wk-table-scroll.wk-table-compact td {
  overflow-wrap: anywhere;
}

.wk-article-reader .wk-table-scroll.wk-table-wide table {
  min-width: 520px;
}

.wk-article-reader .wk-table-hint {
  margin: 1em 0 -.75em;
  color: #506571;
  font-size: .875em;
  line-height: 1.75;
}

.wk-topic-directory {
  margin: 2.5em 0;
}

.wk-topic-directory .wk-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.wk-topic-directory .wk-topic-group {
  min-width: 0;
  padding: 20px;
  border: 1px solid #bddace;
  border-radius: 8px;
  background: #f4faf7;
  color: #132d3a;
}

.wk-topic-directory .wk-topic-group h3 {
  margin: 0 0 .65em;
  color: #005748;
  font-size: 1.125em;
  line-height: 1.6;
}

.wk-topic-directory .wk-topic-group p,
.wk-topic-directory .wk-topic-group li {
  line-height: 1.8;
}

.wk-topic-directory .wk-topic-group ul {
  margin: 0;
  padding-left: 1.3em;
}

.wk-topic-directory .wk-topic-group li {
  margin: .5em 0;
}

@media (max-width: 900px) {
  .wk-topic-directory .wk-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .wk-article-reader .wk-reader-summary,
  .wk-article-reader .wk-reader-toc,
  .wk-article-reader .wk-callout,
  .wk-topic-directory .wk-topic-group {
    padding: 16px;
  }

  .wk-article-reader .wk-table-scroll th,
  .wk-article-reader .wk-table-scroll td {
    padding: 10px 12px;
  }

  .wk-topic-directory .wk-topic-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
