/* Article layout for Sugu Kaiketsu Redesign. */

.sk-article-page {
  color: var(--ink);
  background: var(--wash);
}

.sk-article-page .sk-site-header { background: rgba(255, 255, 255, .94); }

.sk-article-hero {
  padding: 36px 0 76px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 10%, rgba(23, 199, 223, .23), transparent 24%),
    radial-gradient(circle at 96% 90%, rgba(18, 104, 242, .34), transparent 30%),
    linear-gradient(125deg, #061329 0%, #0a214b 63%, #0b3f8e 100%);
}

.sk-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
  color: #9fb0c9;
  font-size: 11px;
  font-weight: 700;
}

.sk-breadcrumbs a:hover { color: #fff; }

.sk-article-hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.32fr) minmax(280px, .68fr);
  gap: 70px;
}

.sk-article-category {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 6px 13px;
  border: 1px solid rgba(94, 227, 242, .36);
  border-radius: 999px;
  color: #78e4f1;
  background: rgba(23, 199, 223, .10);
  font-size: 11px;
  font-weight: 900;
}

.sk-article-title-area h1 {
  max-width: 790px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.32;
  letter-spacing: -.045em;
}

.sk-article-description {
  max-width: 760px;
  margin: 23px 0 0;
  color: #c8d4e7;
  font-size: 14px;
  line-height: 1.9;
}

.sk-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 17px 24px;
  margin-top: 27px;
  color: #9fb0c9;
  font-size: 11px;
  font-weight: 700;
}

.sk-article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.sk-article-meta svg { color: #5ee3f2; }

.sk-hero-summary {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 23px;
  background: rgba(255, 255, 255, .10);
  box-shadow: inset 0 1px rgba(255, 255, 255, .15), 0 25px 60px rgba(0, 0, 0, .20);
  backdrop-filter: blur(14px);
  transform: rotate(1deg);
}

.sk-hero-summary-label {
  margin-bottom: 4px;
  color: #7ee6f2;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.sk-hero-summary a {
  display: grid;
  align-items: center;
  padding: 13px;
  grid-template-columns: 32px 1fr;
  gap: 11px;
  border-radius: 13px;
  color: #e7edf6;
  background: rgba(255, 255, 255, .08);
  font-size: 11px;
  line-height: 1.55;
  transition: background .2s ease, transform .2s ease;
}

.sk-hero-summary a:hover { background: rgba(255, 255, 255, .14); transform: translateX(2px); }

.sk-hero-summary b {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(140deg, var(--blue), var(--cyan));
  font-size: 11px;
}

.sk-article-stage { padding: 72px 0 96px; background: var(--wash); }

.sk-article-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 800px) minmax(250px, 1fr);
  gap: 42px;
}

.sk-article-card-main {
  min-width: 0;
  padding: 55px 62px;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(16, 33, 59, .08);
}

.sk-entry-content {
  color: #283952;
  font-size: 16px;
  line-height: 2.05;
}

.sk-entry-content > :first-child { margin-top: 0; }
.sk-entry-content > :last-child { margin-bottom: 0; }

.sk-entry-content p { margin: 0 0 27px; }

.sk-entry-content h2 {
  position: relative;
  margin: 68px 0 28px;
  padding: 19px 22px 19px 26px;
  border: 1px solid #d9e7fb;
  border-left: 5px solid var(--blue);
  border-radius: 4px 15px 15px 4px;
  color: var(--ink);
  background: linear-gradient(120deg, #edf5ff, #f8fbff);
  font-size: clamp(23px, 2.4vw, 29px);
  line-height: 1.5;
  letter-spacing: -.035em;
  scroll-margin-top: 105px;
}

.sk-entry-content h3 {
  margin: 43px 0 20px;
  padding: 0 0 13px;
  border-bottom: 2px solid #e2e9f2;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -.025em;
  scroll-margin-top: 105px;
}

.sk-entry-content h3::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin: 0 10px 2px 2px;
  border-radius: 3px;
  background: linear-gradient(140deg, var(--blue), var(--cyan));
  content: "";
  transform: rotate(45deg);
}

.sk-entry-content h4 { margin: 34px 0 14px; color: var(--ink); font-size: 17px; }

.sk-entry-content ul,
.sk-entry-content ol {
  margin: 25px 0 31px;
  padding: 22px 28px 22px 51px;
  border: 1px solid #e3eaf3;
  border-radius: 17px;
  background: #f7f9fc;
}

.sk-entry-content li { margin: 6px 0; padding-left: 4px; }
.sk-entry-content li::marker { color: var(--blue); font-weight: 900; }

.sk-entry-content a { color: #075fd6; text-decoration: underline; text-decoration-color: #b8d3f5; text-underline-offset: 4px; }
.sk-entry-content a:hover { color: #004cae; text-decoration-color: currentColor; }

.sk-entry-content blockquote {
  position: relative;
  margin: 32px 0;
  padding: 24px 27px 24px 56px;
  border: 0;
  border-radius: 16px;
  color: #40516b;
  background: #edf8fa;
}

.sk-entry-content blockquote::before {
  position: absolute;
  top: 13px;
  left: 19px;
  color: var(--cyan);
  content: "“";
  font: 700 43px/1 Georgia, serif;
}

.sk-entry-content img { max-width: 100%; height: auto; border-radius: 14px; }

.sk-entry-content figure { max-width: 100%; margin: 34px 0; }
.sk-entry-content figcaption { margin-top: 8px; color: var(--muted); font-size: 11px; text-align: center; }

.sk-entry-content table { width: 100%; margin: 32px 0; overflow: hidden; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 13px; font-size: 13px; }
.sk-entry-content th, .sk-entry-content td { padding: 13px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.sk-entry-content th { color: var(--ink); background: #edf4ff; }
.sk-entry-content tr:last-child td { border-bottom: 0; }
.sk-entry-content th:last-child, .sk-entry-content td:last-child { border-right: 0; }

.sk-entry-content pre { max-width: 100%; padding: 20px; overflow: auto; border-radius: 14px; color: #e8eef8; background: var(--navy); font-size: 13px; line-height: 1.7; }
.sk-entry-content code { padding: 2px 6px; border-radius: 5px; color: #d8395b; background: #f7edf1; font-size: .9em; }
.sk-entry-content pre code { padding: 0; color: inherit; background: transparent; }

.sk-entry-content .wp-block-button__link { color: #fff; background: var(--blue); text-decoration: none; }
.sk-entry-content .wp-block-separator { margin: 45px 0; border-color: var(--line); }

.sk-article-sidebar { position: sticky; top: 106px; display: grid; gap: 18px; }

.sk-toc {
  max-height: calc(100vh - 150px);
  padding: 27px 25px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(16, 33, 59, .07);
  scrollbar-width: thin;
}

.sk-toc-kicker { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }

.sk-toc h2 { margin: 3px 0 17px; color: var(--ink); font-size: 17px; letter-spacing: -.02em; }
.sk-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.sk-toc li { border-top: 1px solid #edf0f4; counter-increment: toc; }
.sk-toc li:first-child { border-top: 0; }

.sk-toc a {
  position: relative;
  display: block;
  padding: 10px 3px 10px 29px;
  color: #53617a;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.55;
}

.sk-toc a::before { position: absolute; top: 10px; left: 0; color: #91a0b5; content: counter(toc, decimal-leading-zero); font-size: 8px; font-weight: 900; }
.sk-toc a:hover { color: var(--blue); }
.sk-toc li.is-child { border-top-style: dashed; }
.sk-toc li.is-child a { padding-top: 8px; padding-bottom: 8px; padding-left: 21px; color: #718097; font-weight: 500; }
.sk-toc li.is-child a::before { content: "—"; }

.sk-side-search {
  padding: 22px;
  border-radius: 19px;
  color: #fff;
  background: var(--navy);
}

.sk-side-search > label { display: block; margin-bottom: 10px; color: #d9e2ef; font-size: 11px; font-weight: 800; }
.sk-side-search > div { display: flex; padding: 5px; border-radius: 11px; background: #fff; }
.sk-side-search input { width: 100%; min-width: 0; padding: 8px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
.sk-side-search button { display: grid; flex: 0 0 39px; width: 39px; height: 39px; place-items: center; border: 0; border-radius: 9px; color: #fff; background: var(--blue); cursor: pointer; }

.sk-mobile-toc { display: none; margin-bottom: 34px; }
.sk-mobile-toc details { border: 1px solid #d9e7fb; border-radius: 15px; background: #f3f8ff; }
.sk-mobile-toc summary { padding: 16px 18px; color: var(--ink); font-size: 13px; font-weight: 900; cursor: pointer; }
.sk-mobile-toc ol { margin: 0; padding: 0 21px 18px 42px; }
.sk-mobile-toc li { margin: 7px 0; color: #64738b; font-size: 11px; }
.sk-mobile-toc li.is-child { margin-left: 13px; }

.sk-article-endnote {
  display: grid;
  align-items: center;
  margin-top: 58px;
  padding: 22px;
  grid-template-columns: 42px 1fr auto;
  gap: 15px;
  border-radius: 18px;
  color: #dce5f2;
  background: var(--navy);
}

.sk-endnote-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--navy); background: #65dff0; font-weight: 900; }
.sk-article-endnote strong { display: block; color: #fff; font-size: 13px; }
.sk-article-endnote p { margin: 2px 0 0; color: #98a8c0; font-size: 10px; }
.sk-article-endnote > a { color: #65dff0; font-size: 10px; font-weight: 900; }

.sk-comments { margin-top: 55px; padding-top: 40px; border-top: 1px solid var(--line); }

.sk-related-section { padding: 92px 0; background: #fff; }
.sk-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.sk-related-card {
  display: flex;
  min-height: 250px;
  padding: 26px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  transition: box-shadow .25s ease, transform .25s ease;
}

.sk-related-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.sk-related-category { align-self: flex-start; margin-bottom: 17px; padding: 4px 9px; border-radius: 999px; color: var(--blue); background: #edf4ff; font-size: 9px; font-weight: 900; }
.sk-related-card h3 { margin: 0 0 10px; color: var(--ink); font-size: 16px; line-height: 1.6; letter-spacing: -.02em; }
.sk-related-card p { margin: 0 0 20px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.sk-related-card > span:last-child { margin-top: auto; color: var(--blue); font-size: 10px; font-weight: 900; }

.sk-post-navigation {
  display: grid;
  padding-top: 55px;
  padding-bottom: 75px;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.sk-post-navigation a { display: flex; padding: 23px; flex-direction: column; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.sk-post-navigation a:hover { border-color: #b9ceec; }
.sk-post-navigation small { margin-bottom: 6px; color: var(--blue); font-size: 9px; font-weight: 900; }
.sk-post-navigation strong { color: var(--ink); font-size: 12px; line-height: 1.6; }
.sk-post-navigation .is-next { text-align: right; }

@media (max-width: 980px) {
  .sk-article-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .sk-hero-summary { max-width: 620px; transform: none; }
  .sk-article-layout { grid-template-columns: 1fr; }
  .sk-article-sidebar { display: none; }
  .sk-mobile-toc { display: block; }
}

@media (max-width: 720px) {
  .sk-article-hero { padding: 27px 0 52px; }
  .sk-breadcrumbs { margin-bottom: 31px; }
  .sk-article-title-area h1 { font-size: clamp(31px, 9vw, 43px); }
  .sk-article-description { font-size: 13px; }
  .sk-article-meta { gap: 12px 18px; }
  .sk-hero-summary { padding: 19px; }
  .sk-article-stage { padding: 30px 0 68px; }
  .sk-article-card-main { padding: 29px 21px; border-radius: 20px; }
  .sk-entry-content { font-size: 15px; line-height: 2; }
  .sk-entry-content p { margin-bottom: 23px; }
  .sk-entry-content h2 { margin-top: 52px; padding: 16px 16px 16px 19px; font-size: 22px; }
  .sk-entry-content h3 { margin-top: 36px; font-size: 18px; }
  .sk-entry-content ul, .sk-entry-content ol { padding: 18px 17px 18px 41px; }
  .sk-entry-content table { display: block; overflow-x: auto; white-space: nowrap; }
  .sk-article-endnote { align-items: start; grid-template-columns: 40px 1fr; }
  .sk-article-endnote > a { grid-column: 2; }
  .sk-related-section { padding: 70px 0; }
  .sk-related-grid { grid-template-columns: 1fr; }
  .sk-related-card { min-height: 0; }
  .sk-post-navigation { grid-template-columns: 1fr; padding-top: 35px; padding-bottom: 55px; }
  .sk-post-navigation .is-next { text-align: left; }
}

