@charset "UTF-8";

/*
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template: cocoon-master
Version: 1.1.3
*/

/* =========================================================
   Qualification Compass — Editorial Design System v3
   ========================================================= */

:root {
  --qc-navy-950: #071c2c;
  --qc-navy-900: #0b283e;
  --qc-navy-800: #123b55;
  --qc-teal-700: #0a6f69;
  --qc-teal-600: #0d827a;
  --qc-sand-500: #b78a3e;
  --qc-text-900: #172633;
  --qc-text-700: #3f505d;
  --qc-text-500: #6d7b85;
  --qc-bg: #f5f6f4;
  --qc-paper: #fff;
  --qc-soft: #eef3f2;
  --qc-warm: #f7f2e8;
  --qc-line: #dce3e5;
  --qc-line-dark: #c8d2d6;
  --qc-danger: #a4443f;
  --qc-shadow: 0 12px 38px rgba(7, 28, 44, .07);
  --qc-radius: 8px;
  --qc-reading: 704px;
}

/* =========================================================
   V3 — publisher / education media translation
   The layer below replaces the visual direction while keeping
   Cocoon's semantic HTML, content, links and ad placements intact.
   ========================================================= */

:root {
  --qc-navy-950: #03243c;
  --qc-navy-900: #06334f;
  --qc-navy-800: #084665;
  --qc-teal-700: #007f78;
  --qc-teal-600: #079b91;
  --qc-blue-600: #0b62d6;
  --qc-text-900: #102b3e;
  --qc-text-700: #425866;
  --qc-text-500: #71818b;
  --qc-bg: #f4f7f7;
  --qc-soft: #eaf5f3;
  --qc-line: #d8e1e4;
  --qc-line-dark: #c7d3d8;
  --qc-shadow: 0 8px 28px rgba(3, 36, 60, .065);
  --qc-reading: 720px;
}

body.qc-editorial-v3 {
  --qc-navy-950: #03243c;
  --qc-navy-900: #06334f;
  --qc-navy-800: #084665;
  --qc-teal-700: #007f78;
  --qc-teal-600: #079b91;
  --qc-blue-600: #0b62d6;
  --qc-text-900: #102b3e;
  --qc-text-700: #425866;
  --qc-text-500: #71818b;
  --qc-bg: #f4f7f7;
  --qc-soft: #eaf5f3;
  --qc-line: #d8e1e4;
  --qc-line-dark: #c7d3d8;
  --qc-shadow: 0 8px 28px rgba(3, 36, 60, .065);
  --qc-reading: 720px;
  color: var(--qc-text-900);
  background:
    linear-gradient(180deg, #f8faf9 0, var(--qc-bg) 520px),
    var(--qc-bg);
  font-size: 16px;
  line-height: 1.85;
}

.qc-editorial-v3 .wrap { width: min(1280px, calc(100% - 48px)); }

/* Masthead + dedicated navy navigation band */
.qc-editorial-v3 #header-container {
  overflow: visible;
  color: var(--qc-navy-950);
  background: #fff;
  border: 0;
  box-shadow: 0 5px 18px rgba(3, 36, 60, .08);
}

.qc-editorial-v3 #header-container-in {
  display: block;
  min-height: 0;
}

.qc-editorial-v3 #header {
  width: 100%;
  min-height: 74px;
  background: #fff;
}

.qc-editorial-v3 #header-in {
  display: grid;
  grid-template-columns: auto minmax(170px, 1fr) minmax(250px, 320px);
  grid-template-rows: 74px;
  gap: 18px;
  align-items: center;
  width: min(1360px, calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  padding: 0;
}

.qc-editorial-v3 #header .logo-header {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.qc-editorial-v3 .qc-brand-mark {
  display: inline-flex;
  width: 48px;
  height: 48px;
  margin-right: 13px;
  color: var(--qc-navy-900);
}

.qc-editorial-v3 .qc-brand-mark svg { width: 100%; height: 100%; }
.qc-editorial-v3 .qc-brand-mark circle:first-child { fill: none; stroke: currentColor; stroke-width: 2.4; }
.qc-editorial-v3 .qc-brand-mark path { fill: none; stroke: currentColor; stroke-width: 3.1; stroke-linejoin: round; }
.qc-editorial-v3 .qc-brand-mark circle:last-child { fill: var(--qc-teal-600); stroke: #fff; stroke-width: 1.3; }

.qc-editorial-v3 .logo-text .site-name-text,
.qc-editorial-v3 .logo-text .site-name-text:hover {
  color: var(--qc-navy-950);
  font-size: 29px;
  font-weight: 850;
  letter-spacing: .075em;
}

.qc-editorial-v3 .tagline {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding-left: 18px;
  color: var(--qc-text-500);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .03em;
  border-left: 1px solid var(--qc-line);
}

.qc-editorial-v3 .qc-header-search {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
}

.qc-editorial-v3 .qc-header-search .search-box {
  min-height: 42px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--qc-line-dark);
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(3, 36, 60, .03);
}

.qc-editorial-v3 .qc-header-search .search-edit { font-size: 12px; }
.qc-editorial-v3 .qc-header-search .search-submit { width: 44px; background: var(--qc-navy-950); }

.qc-editorial-v3 #navi,
.qc-editorial-v3 #header-container #navi {
  display: block;
  width: 100%;
  height: 44px;
  color: #fff;
  background: linear-gradient(90deg, var(--qc-navy-950), #064266);
  border: 0;
}

.qc-editorial-v3 .navi-in { width: min(1180px, calc(100% - 48px)); height: 44px; margin: 0 auto; }
.qc-editorial-v3 .navi-in > ul { justify-content: space-between; height: 44px; padding: 0; }
.qc-editorial-v3 #navi .navi-in > ul > li { flex: 1 1 auto; height: 44px; }
.qc-editorial-v3 .navi-in > ul > li > a,
.qc-editorial-v3 #header-container #navi .navi-in > ul > li > a {
  align-items: center;
  justify-content: center;
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
  color: rgba(255,255,255,.93);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: .035em;
}

.qc-editorial-v3 #header-container #navi .navi-in > ul > li > a:hover,
.qc-editorial-v3 #header-container #navi .navi-in > ul > li.current-menu-item > a,
.qc-editorial-v3 #header-container #navi .navi-in > ul > li.current-menu-ancestor > a {
  color: #fff;
  background: rgba(255,255,255,.09);
}

.qc-editorial-v3 .navi-in > ul > li > a::after {
  right: 22%;
  bottom: 0;
  left: 22%;
  height: 3px;
  background: #3bd5c7;
}

.qc-editorial-v3 #header-container-in > .google-auto-placed {
  padding: 12px 0;
  background: #f8faf9;
  border-top: 0;
  border-bottom: 1px solid var(--qc-line);
}

/* Editorial canvas */
.qc-editorial-v3 #content { padding: 34px 0 76px; }
.qc-editorial-v3 .content-in {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
}

.qc-editorial-v3 #main {
  padding: 46px clamp(38px, 4.2vw, 58px) 62px;
  background: #fff;
  border: 1px solid var(--qc-line);
  border-top: 3px solid var(--qc-navy-900);
  border-radius: 6px;
  box-shadow: 0 8px 26px rgba(3, 36, 60, .055);
}

.qc-editorial-v3 .breadcrumb { padding-top: 10px; }

/* Article entry: headline, metadata, contents and body */
.qc-editorial-v3 .entry-title,
.qc-editorial-v3 .archive-title {
  color: var(--qc-navy-950);
  font-size: clamp(30px, 2.45vw, 37px);
  font-weight: 800;
  line-height: 1.48;
  letter-spacing: .006em;
}

.qc-editorial-v3 .article-header .entry-title {
  padding-top: 4px;
  padding-left: 20px;
  border-left: 5px solid var(--qc-teal-600);
}

.qc-editorial-v3 .date-tags {
  margin: 16px 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--qc-line);
}

.qc-editorial-v3 .eye-catch {
  border-radius: 5px;
  box-shadow: 0 8px 22px rgba(3, 36, 60, .06);
}

.qc-editorial-v3 .cat-label {
  padding: 5px 11px;
  background: var(--qc-teal-700);
  border-radius: 3px;
}

.qc-editorial-v3 .entry-content { font-size: 16px; line-height: 2.08; }
.qc-editorial-v3 .entry-content > p:first-of-type { color: #263e4d; font-size: 17px; }

.qc-editorial-v3 .entry-content h2 {
  margin-top: 3.55em;
  padding: 16px 18px 16px 22px;
  color: var(--qc-navy-950);
  background: #f4f8f8;
  border: 0;
  border-left: 5px solid var(--qc-teal-600);
  border-radius: 2px;
  font-size: clamp(22px, 2vw, 27px);
}

.qc-editorial-v3 .entry-content h2::before { content: none; }
.qc-editorial-v3 .entry-content h3 {
  padding: 0 0 10px 14px;
  border-left: 3px solid var(--qc-blue-600);
  border-bottom: 1px solid var(--qc-line);
}

.qc-editorial-v3 .toc {
  margin: 32px 0 46px;
  padding: 0;
  overflow: hidden;
  background: #f8faf9;
  border: 1px solid var(--qc-line-dark);
  border-left: 0;
  border-radius: 5px;
}

.qc-editorial-v3 .toc-title {
  margin: 0;
  padding: 13px 20px;
  color: #fff;
  background: linear-gradient(90deg, var(--qc-navy-950), var(--qc-navy-800));
  font-size: 14px;
  letter-spacing: .1em;
}

.qc-editorial-v3 .toc-list { margin: 0; padding: 20px 24px 19px 42px; }
.qc-editorial-v3 .toc-list a { color: #345061; }

.qc-editorial-v3 .entry-content .wp-block-table {
  border-radius: 4px;
  box-shadow: 0 7px 20px rgba(3, 36, 60, .055);
}

.qc-editorial-v3 .entry-content table th { background: var(--qc-navy-900); }
.qc-editorial-v3 .easyLink-box,
.qc-editorial-v3 .blogcard-wrap {
  border-top-color: var(--qc-teal-600);
  box-shadow: 0 7px 20px rgba(3, 36, 60, .05);
}

.qc-editorial-v3 .easyLink-info-btn a,
.qc-editorial-v3 .entry-content .btn,
.qc-editorial-v3 .entry-content .wp-block-button__link,
.qc-editorial-v3 .ranking-item-link-buttons a { border-radius: 4px; }

.qc-editorial-v3 .related-entries-title {
  padding-left: 14px;
  border-left: 4px solid var(--qc-teal-600);
}

.qc-editorial-v3 .related-entry-card-wrap,
.qc-editorial-v3 .entry-card-wrap { border-radius: 4px; }

/* Sidebar becomes a curated reader navigator */
.qc-editorial-v3 #sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.qc-editorial-v3 #sidebar-scroll[hidden] { display: none; }
.qc-editorial-v3 #search-2 { order: 1; }
.qc-editorial-v3 #categories-2 { order: 2; }
.qc-editorial-v3 #popular_entries-2 { order: 3; }
.qc-editorial-v3 #author_box-2 { order: 4; }

.qc-editorial-v3 .sidebar .widget {
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--qc-line-dark);
  border-top: 0;
  border-radius: 6px;
  box-shadow: 0 5px 18px rgba(3, 36, 60, .045);
}

.qc-editorial-v3 .sidebar .widget-title,
.qc-editorial-v3 .sidebar .widget h2 {
  margin: 0;
  padding: 12px 17px;
  color: #fff;
  background: linear-gradient(90deg, var(--qc-navy-950), var(--qc-navy-800));
  border: 0;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .055em;
}

.qc-editorial-v3 #search-2 {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.qc-editorial-v3 #search-2 .widget-title { display: none; }
.qc-editorial-v3 #search-2 .search-box {
  min-height: 44px;
  border: 1px solid var(--qc-line-dark);
  border-radius: 6px;
  box-shadow: 0 3px 12px rgba(3, 36, 60, .04);
}

.qc-editorial-v3 .qc-purpose-list { display: block; }
.qc-editorial-v3 .qc-purpose-link {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 14px;
  gap: 9px;
  align-items: center;
  min-height: 49px;
  padding: 7px 15px;
  color: var(--qc-text-900);
  border-bottom: 1px solid var(--qc-line);
  font-size: 12px;
  font-weight: 550;
  text-decoration: none;
}

.qc-editorial-v3 .qc-purpose-link:last-child { border-bottom: 0; }
.qc-editorial-v3 .qc-purpose-link:hover { color: var(--qc-teal-700); background: #f2f9f7; }
.qc-editorial-v3 .qc-purpose-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--qc-teal-600);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
}
.qc-editorial-v3 .qc-purpose-link:nth-child(3n) .qc-purpose-icon { background: var(--qc-blue-600); }
.qc-editorial-v3 .qc-purpose-link:nth-child(4n) .qc-purpose-icon { background: #7c55b9; }
.qc-editorial-v3 .qc-purpose-arrow { color: var(--qc-text-500); font-size: 21px; line-height: 1; }

.qc-editorial-v3 #popular_entries-2 .popular-entry-cards { padding: 3px 14px 8px; counter-reset: popular; }
.qc-editorial-v3 .popular-entry-card-wrap {
  position: relative;
  min-height: 48px;
  padding: 10px 0 10px 35px;
  counter-increment: popular;
}
.qc-editorial-v3 .popular-entry-card-wrap::before {
  content: counter(popular);
  position: absolute;
  top: 11px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  color: #fff;
  background: #a9bac4;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}
.qc-editorial-v3 .popular-entry-card-wrap:first-child::before { background: #e0a212; }
.qc-editorial-v3 .popular-entry-card-wrap:nth-child(2)::before { background: #879cab; }
.qc-editorial-v3 .popular-entry-card-wrap:nth-child(3)::before { background: #c8752b; }
.qc-editorial-v3 .popular-entry-card-thumb { display: none; }
.qc-editorial-v3 .popular-entry-card-content { width: 100%; margin: 0; padding: 0; }
.qc-editorial-v3 .popular-entry-card-title { display: block; width: 100%; font-size: 11px; line-height: 1.55; text-align: left; }

.qc-editorial-v3 #author_box-2 .author-box { padding: 18px; }
.qc-editorial-v3 #author_box-2 .author-thumb img { width: 66px; }
.qc-editorial-v3 #author_box-2 .author-description { font-size: 10px; line-height: 1.7; }

/* Front page: same hierarchy as the approved mock */
.qc-editorial-v3.home #main { padding: 0; background: transparent; border: 0; box-shadow: none; }
.qc-editorial-v3.home .entry-header { display: none; }
.qc-editorial-v3.home .entry-content { font-size: 15px; }
.qc-editorial-v3.home .qc-home-structured { display: flex; flex-direction: column; gap: 0; }

.qc-editorial-v3.home .entry-content > .wp-block-cover {
  min-height: 360px;
  margin: 0 0 26px;
  border: 1px solid rgba(3, 36, 60, .1);
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(3, 36, 60, .08);
}

.qc-editorial-v3.home .wp-block-cover::after {
  background: linear-gradient(90deg, rgba(248,252,252,.96) 0%, rgba(226,243,247,.88) 43%, rgba(3,51,79,.18) 72%, rgba(3,51,79,.08) 100%);
}

.qc-editorial-v3.home .wp-block-cover__inner-container { max-width: 660px; padding: 40px 44px; }
.qc-editorial-v3.home .wp-block-cover__inner-container { text-align: left; }
.qc-editorial-v3.home .wp-block-cover__inner-container h2,
.qc-editorial-v3.home .wp-block-cover__inner-container .qc-hero-title {
  max-width: 560px;
  margin: 0 0 18px;
  color: var(--qc-navy-950);
  font-size: clamp(29px, 2.7vw, 37px);
  font-weight: 820;
  line-height: 1.42;
  text-align: left;
  text-wrap: balance;
  text-shadow: none;
}
.qc-editorial-v3.home .wp-block-cover__inner-container p {
  color: #334e5d;
  font-size: 14px;
  line-height: 1.9;
  text-shadow: none;
}

.qc-editorial-v3 .qc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.qc-editorial-v3 .qc-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(3, 36, 60, .12);
}
.qc-editorial-v3 .qc-hero-button:hover { color: #fff; transform: translateY(-1px); }
.qc-editorial-v3 .qc-hero-button-primary { background: var(--qc-blue-600); }
.qc-editorial-v3 .qc-hero-button-secondary { background: var(--qc-teal-700); }

.qc-editorial-v3 .qc-home-section { margin: 0 0 26px; }
.qc-editorial-v3.home .qc-home-section > h2 {
  margin: 0 0 14px;
  padding: 0 0 0 15px;
  color: var(--qc-navy-950);
  border: 0;
  border-left: 5px solid var(--qc-teal-600);
  font-size: 23px;
  line-height: 1.45;
}
.qc-editorial-v3.home .qc-home-section > h2::before { content: none; }

.qc-editorial-v3 .qc-category-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.qc-editorial-v3 .qc-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 17px 10px 14px;
  color: var(--qc-navy-950);
  background: #fff;
  border: 1px solid var(--qc-line);
  border-top: 4px solid var(--qc-blue-600);
  border-radius: 5px;
  box-shadow: 0 5px 14px rgba(3, 36, 60, .045);
  text-align: center;
  text-decoration: none;
}
.qc-editorial-v3 .qc-category-card:nth-child(2) { border-top-color: var(--qc-teal-600); }
.qc-editorial-v3 .qc-category-card:nth-child(3) { border-top-color: #7c55b9; }
.qc-editorial-v3 .qc-category-card:nth-child(4) { border-top-color: #ef7626; }
.qc-editorial-v3 .qc-category-card:nth-child(5) { border-top-color: #0cb3b0; }
.qc-editorial-v3 .qc-category-card:hover { color: var(--qc-teal-700); border-color: var(--qc-teal-600); transform: translateY(-2px); }
.qc-editorial-v3 .qc-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  color: #fff;
  background: var(--qc-navy-800);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 850;
}
.qc-editorial-v3 .qc-category-name { font-size: 13px; line-height: 1.5; }
.qc-editorial-v3 .qc-category-description { margin-top: 4px; color: var(--qc-text-500); font-size: 9px; line-height: 1.55; }

.qc-editorial-v3.home .tab-block {
  background: #fff;
  border: 1px solid var(--qc-line);
  border-radius: 5px;
}
.qc-editorial-v3.home .tab-label-group { background: #eef5f4; }
.qc-editorial-v3.home .tab-content { padding: 20px 22px; }

.qc-editorial-v3 .qc-starter-section {
  padding: 20px 24px 24px;
  background: linear-gradient(135deg, #e5f6f3, #f0f8f7);
  border: 1px solid #d4ece8;
  border-radius: 6px;
}
.qc-editorial-v3.home .qc-starter-section > h2 { margin-bottom: 16px; }
.qc-editorial-v3.home .qc-starter-section .column-wrap { gap: 12px; margin: 0 0 12px; }
.qc-editorial-v3.home .qc-starter-section .column-wrap:last-child { margin-bottom: 0; }
.qc-editorial-v3.home .column-wrap .column-left,
.qc-editorial-v3.home .column-wrap .column-right {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--qc-line);
  border-radius: 5px;
}
.qc-editorial-v3.home .qc-starter-section .blogcard-wrap { margin: 0; border: 0; box-shadow: none; }
.qc-editorial-v3.home .qc-starter-section .blogcard-content { padding: 12px 14px 15px; }
.qc-editorial-v3.home .qc-starter-section .blogcard-title { font-size: 13px; }
.qc-editorial-v3.home .qc-starter-section .blogcard-snippet { font-size: 9px; }

.qc-editorial-v3.home .wp-block-latest-posts { padding: 2px 20px; border-radius: 5px; }
.qc-editorial-v3.home .wp-block-latest-posts li { padding: 13px 4px; }
.qc-editorial-v3.home .wp-block-latest-posts a { color: var(--qc-teal-700); font-size: 12px; }

@media screen and (max-width: 1180px) {
  .qc-editorial-v3 .wrap { width: min(100% - 36px, 980px); }
  .qc-editorial-v3 .content-in { grid-template-columns: minmax(0, 1fr); }
  .qc-editorial-v3 #sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qc-editorial-v3 #search-2 { grid-column: 1 / -1; }
  .qc-editorial-v3 #author_box-2 { grid-column: 1 / -1; }
}

@media screen and (max-width: 1023px) {
  .qc-editorial-v3 #header { min-height: 72px; }
  .qc-editorial-v3 #header-in {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 72px;
    width: calc(100% - 36px);
    min-height: 72px;
  }
  .qc-editorial-v3 #header .logo-header { grid-column: 1; justify-self: start; }
  .qc-editorial-v3 .tagline { grid-column: 2; display: block; }
  .qc-editorial-v3 .qc-header-search { display: none; }
  .qc-editorial-v3 #navi,
  .qc-editorial-v3 #header-container #navi { display: none; }
  .qc-editorial-v3 .qc-category-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media screen and (max-width: 834px) {
  .qc-editorial-v3 .wrap { width: calc(100% - 24px); }
  .qc-editorial-v3 #content { padding-top: 20px; }
  .qc-editorial-v3 #main { padding: 38px 26px 48px; }
  .qc-editorial-v3 #sidebar { grid-template-columns: 1fr; }
  .qc-editorial-v3 #search-2,
  .qc-editorial-v3 #author_box-2 { grid-column: auto; }
  .qc-editorial-v3 .entry-title,
  .qc-editorial-v3 .archive-title { font-size: clamp(26px, 5.1vw, 32px); }
  .qc-editorial-v3.home .entry-content > .wp-block-cover { min-height: 350px; }
  .qc-editorial-v3.home .wp-block-cover__inner-container { padding: 34px; }
  .qc-editorial-v3 .qc-category-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 480px) {
  .qc-editorial-v3 #header-in {
    display: flex;
    justify-content: center;
    width: calc(100% - 24px);
    min-height: 66px;
  }
  .qc-editorial-v3 #header .logo-header { justify-content: center; }
  .qc-editorial-v3 .qc-brand-mark { width: 38px; height: 38px; margin-right: 9px; }
  .qc-editorial-v3 .logo-text .site-name-text { font-size: 20px; }
  .qc-editorial-v3 .tagline { display: none; }
  .qc-editorial-v3 #main { padding: 30px 18px 42px; }
  .qc-editorial-v3 .article-header .entry-title { padding-left: 14px; border-left-width: 4px; }
  .qc-editorial-v3 .entry-title,
  .qc-editorial-v3 .archive-title { font-size: 24px; line-height: 1.48; }
  .qc-editorial-v3 .entry-content h2 { padding: 14px 14px 14px 16px; font-size: 20px; }
  .qc-editorial-v3 .toc-list { padding: 17px 18px 17px 34px; }
  .qc-editorial-v3.home .entry-content > .wp-block-cover { min-height: 390px; margin-bottom: 20px; }
  .qc-editorial-v3.home .wp-block-cover::after {
    background: linear-gradient(180deg, rgba(248,252,252,.94), rgba(233,246,248,.86) 70%, rgba(3,51,79,.18));
  }
  .qc-editorial-v3.home .wp-block-cover__inner-container { padding: 28px 21px; }
  .qc-editorial-v3.home .wp-block-cover__inner-container h2,
  .qc-editorial-v3.home .wp-block-cover__inner-container .qc-hero-title { font-size: 27px; line-height: 1.5; }
  .qc-editorial-v3.home .wp-block-cover__inner-container p { font-size: 13px; line-height: 1.85; }
  .qc-editorial-v3 .qc-hero-actions { display: grid; grid-template-columns: 1fr; }
  .qc-editorial-v3 .qc-hero-button { min-height: 43px; width: 100%; padding: 10px 15px; }
  .qc-editorial-v3.home .qc-home-section > h2 { font-size: 21px; }
  .qc-editorial-v3 .qc-category-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .qc-editorial-v3 .qc-category-card { padding: 14px 8px 12px; }
  .qc-editorial-v3 .qc-category-card:last-child { grid-column: 1 / -1; }
  .qc-editorial-v3 .qc-starter-section { padding: 18px 14px; }
  .qc-editorial-v3.home .qc-starter-section .column-wrap { display: block; }
  .qc-editorial-v3.home .qc-starter-section .column-left,
  .qc-editorial-v3.home .qc-starter-section .column-right { margin-bottom: 10px; }
  .qc-editorial-v3.home .tab-label { font-size: 10px; }
  .qc-editorial-v3.home .tab-content { padding: 17px 14px; }
  .qc-editorial-v3.home .wp-block-latest-posts { padding: 2px 12px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  overflow-x: clip;
  margin: 0;
  color: var(--qc-text-900);
  background: var(--qc-bg);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-feature-settings: "palt" 1;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1.85;
}

a {
  color: var(--qc-teal-700);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

a:hover { color: var(--qc-navy-800); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(13, 130, 122, .42);
  outline-offset: 3px;
}

img { max-width: 100%; height: auto; }
::selection { color: var(--qc-navy-950); background: rgba(13, 130, 122, .2); }
.wrap { width: min(1280px, calc(100% - 48px)); }

/* =========================================================
   Brand header: one editorial masthead, not stacked theme UI
   ========================================================= */

#header-container {
  color: var(--qc-navy-950);
  background: var(--qc-paper);
  border-bottom: 1px solid var(--qc-line);
  box-shadow: 0 5px 22px rgba(7, 28, 44, .045);
}

#header-container-in {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-height: 86px;
}

#header {
  grid-column: 1;
  height: auto;
  color: var(--qc-navy-950);
  background: var(--qc-paper);
}

#header-in {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 86px;
  margin: 0;
  padding: 0 24px 0 clamp(24px, 5vw, 72px);
}

.logo-header { margin: 0; text-align: left; }
#header .logo-header { padding: 0; }

.logo-text .site-name-text,
.logo-text .site-name-text:hover {
  color: var(--qc-navy-950);
  font-size: clamp(25px, 2.2vw, 31px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .07em;
  text-shadow: none;
}

.tagline {
  margin-top: 7px;
  color: var(--qc-text-500);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .08em;
}

#navi {
  grid-column: 2;
  display: flex;
  align-items: stretch;
  color: var(--qc-navy-900);
  background: var(--qc-paper);
  border: 0;
  box-shadow: none;
}

#header-container #navi { background: var(--qc-paper); }

.navi-in { width: 100%; }
.navi-in > ul { height: 100%; flex-wrap: nowrap; justify-content: flex-end; padding-right: clamp(22px, 4vw, 64px); }

#navi .navi-in > ul > li {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.navi-in > ul > li > a {
  position: relative;
  min-height: 86px;
  padding: 0 clamp(11px, 1.35vw, 20px);
  color: var(--qc-navy-900);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .035em;
  border: 0;
  white-space: nowrap;
}

#header-container #navi .navi-in > ul > li > a { color: var(--qc-navy-900); }
#header-container #navi .navi-in > ul > li > a:hover,
#header-container #navi .navi-in > ul > li.current-menu-item > a,
#header-container #navi .navi-in > ul > li.current-menu-ancestor > a { color: var(--qc-teal-700); }

.navi-in > ul > li > a::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  height: 2px;
  background: var(--qc-teal-600);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.navi-in > ul > li > a:hover,
.navi-in > ul > li.current-menu-item > a,
.navi-in > ul > li.current-menu-ancestor > a {
  color: var(--qc-teal-700);
  background: transparent;
}

.navi-in > ul > li > a:hover::after,
.navi-in > ul > li.current-menu-item > a::after,
.navi-in > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); }

.navi-in .sub-menu {
  min-width: 220px;
  padding: 8px;
  background: var(--qc-paper);
  border: 1px solid var(--qc-line);
  border-top: 3px solid var(--qc-teal-600);
  border-radius: 0 0 var(--qc-radius) var(--qc-radius);
  box-shadow: var(--qc-shadow);
}

.navi-in .sub-menu a {
  padding: 11px 13px;
  color: var(--qc-text-700);
  font-size: 13px;
  border-radius: 4px;
}

.navi-in .sub-menu a:hover { color: var(--qc-navy-950); background: var(--qc-soft); }

/* Auto Ads stay present; their stage no longer looks like missing content. */
#header-container-in > .google-auto-placed {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  padding: 16px 0;
  background: #f8f9f8;
  border-top: 1px solid var(--qc-line);
  border-bottom: 1px solid var(--qc-line);
}

.google-auto-placed,
ins.adsbygoogle,
[id^="aswift_"] { max-width: 100%; }

.google-auto-placed iframe,
ins.adsbygoogle iframe { width: 100% !important; max-width: 100%; }

/* =========================================================
   Core layout
   ========================================================= */

#content { padding: 50px 0 84px; }

.content-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 38px;
  align-items: start;
}

#main,
#sidebar { float: none; width: auto; }

#main {
  min-width: 0;
  padding: 54px clamp(42px, 5vw, 64px) 64px;
  background: var(--qc-paper);
  border: 1px solid var(--qc-line);
  border-top: 4px solid var(--qc-navy-900);
  border-radius: var(--qc-radius);
  box-shadow: var(--qc-shadow);
}

.breadcrumb {
  margin: 0 auto;
  padding: 13px 0 0;
  color: var(--qc-text-500);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .03em;
}

.breadcrumb a { color: var(--qc-text-500); }
.breadcrumb a:hover { color: var(--qc-teal-700); }

/* =========================================================
   Article entry: the primary product
   ========================================================= */

.single .article-header,
.single .entry-content,
.single .article-footer { width: 100%; max-width: var(--qc-reading); margin-right: auto; margin-left: auto; }

.article-header { display: flex; flex-direction: column; }
.article-header .entry-title { order: 1; }
.article-header .date-tags { order: 2; }
.article-header .eye-catch-wrap { order: 3; }
.article-header .sns-share { order: 4; }

.entry-title,
.archive-title {
  margin: 0;
  color: var(--qc-navy-950);
  font-size: clamp(31px, 2.65vw, 38px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .005em;
  text-wrap: pretty;
  text-align: left;
}

.date-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin: 18px 0 25px;
  color: var(--qc-text-500);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .055em;
}

.post-date,
.post-update { color: var(--qc-text-500); }

.eye-catch-wrap { margin: 0 0 22px; }

.eye-catch {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--qc-soft);
  border: 1px solid var(--qc-line);
  border-radius: var(--qc-radius);
}

.eye-catch img { display: block; width: 100%; border-radius: 0; }
.cat-label { padding: 5px 10px; background: var(--qc-teal-700); border-radius: 999px; font-size: 10px; letter-spacing: .04em; }

.sns-share-buttons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 32px;
}

.sns-share-buttons a {
  float: none;
  width: auto;
  justify-self: stretch;
  min-height: 38px;
  margin: 0;
  border-radius: 4px;
  opacity: .82;
  transition: opacity .18s ease, transform .18s ease;
}

#main .sns-share .sns-share-buttons > a {
  width: 100%;
  min-width: 0;
}

.sns-share-buttons a .button-caption { font-size: 10px; white-space: nowrap; }

.sns-share-buttons a:hover { opacity: 1; transform: translateY(-1px); }

.entry-content {
  color: var(--qc-text-900);
  font-size: 17px;
  line-height: 2.05;
  overflow-wrap: anywhere;
}

.entry-content > p { margin: 1.35em 0; }
.entry-content > p:first-of-type { color: #263946; font-size: 18px; line-height: 2; }

.single .entry-content > div:first-child:not([class]) {
  margin: 0 0 22px;
  padding: 9px 12px;
  color: #685a43;
  background: var(--qc-warm);
  border: 1px solid #eadcc2;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.entry-content h2 {
  position: relative;
  margin: 3.7em 0 1.35em;
  padding: 18px 0 17px 18px;
  color: var(--qc-navy-950);
  font-size: clamp(23px, 2.1vw, 29px);
  font-weight: 750;
  line-height: 1.55;
  letter-spacing: .01em;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--qc-line-dark);
  border-bottom: 1px solid var(--qc-line);
  border-radius: 0;
}

.entry-content h2::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 21px;
  left: 0;
  width: 4px;
  background: var(--qc-teal-600);
  border-radius: 99px;
}

.entry-content h2::after { content: none; }

.entry-content h3 {
  margin: 2.8em 0 1.1em;
  padding: 0 0 10px 15px;
  color: var(--qc-navy-900);
  font-size: clamp(20px, 1.75vw, 24px);
  font-weight: 700;
  line-height: 1.6;
  background: transparent;
  border: 0;
  border-left: 3px solid var(--qc-sand-500);
  border-bottom: 1px solid var(--qc-line);
}

.entry-content h3::before { content: none; }

.entry-content h4 {
  margin: 2.3em 0 .9em;
  padding: 0 0 0 13px;
  color: var(--qc-navy-800);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
  border-left: 2px solid var(--qc-line-dark);
}

.entry-content strong { color: var(--qc-navy-950); font-weight: 750; }

.entry-content a:not(.blogcard-wrap):not([class*="btn"]):not([class*="button"]) {
  color: var(--qc-teal-700);
  text-decoration-line: underline;
  text-decoration-color: rgba(10, 111, 105, .42);
}

.entry-content hr {
  margin: 3.3em auto;
  border: 0;
  border-top: 1px solid var(--qc-line);
}

.entry-content ul,
.entry-content ol {
  margin: 1.5em 0;
  padding: .3em 0 .3em 1.55em;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.entry-content li { padding-left: .25em; }
.entry-content li + li { margin-top: .55em; }
.entry-content li::marker { color: var(--qc-teal-700); font-weight: 700; }

.entry-content blockquote {
  margin: 2em 0;
  padding: 22px 24px;
  color: var(--qc-text-700);
  background: #f7f8f7;
  border: 0;
  border-left: 3px solid var(--qc-sand-500);
  border-radius: 0 5px 5px 0;
}

.entry-content code { padding: .12em .38em; color: #844234; background: #fbf0ec; border-radius: 3px; }

/* Table of contents — compact editorial navigation */
.toc {
  width: 100%;
  max-width: none;
  margin: 34px 0 50px;
  padding: 24px 26px 22px;
  color: var(--qc-text-700);
  background: #f7f9f8;
  border: 1px solid var(--qc-line);
  border-left: 4px solid var(--qc-teal-600);
  border-radius: 3px;
  box-shadow: none;
}

.toc-title {
  margin-bottom: 12px;
  color: var(--qc-navy-900);
  font-size: 15px;
  font-weight: 750;
  text-align: left;
  letter-spacing: .08em;
}

.toc-list { columns: 2; column-gap: 36px; margin: 0; font-size: 13px; line-height: 1.75; }
.toc-list li { break-inside: avoid; margin: 0 0 7px; }
.toc-list a { color: var(--qc-text-700); text-decoration: none; }
.toc-list a:hover { color: var(--qc-teal-700); text-decoration: underline; }

/* Notes and boxes — one coherent family */
:is(.information-box, .question-box, .alert-box, .memo-box, .comment-box, .common-icon-box,
    .is-style-stitch-box, .is-style-primary-box, .is-style-secondary-box) {
  margin: 2em 0;
  padding: 20px 22px;
  color: var(--qc-text-700);
  background: #f7f9f8;
  border: 1px solid var(--qc-line);
  border-left: 4px solid var(--qc-teal-600);
  border-radius: 4px;
  box-shadow: none;
}

.alert-box { background: #fff6f4; border-left-color: var(--qc-danger); }
.question-box { background: var(--qc-warm); border-left-color: var(--qc-sand-500); }

/* Comparison tables */
.entry-content .wp-block-table {
  position: relative;
  display: block;
  width: 100%;
  margin: 2.2em 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  background: var(--qc-paper);
  border: 1px solid var(--qc-line-dark);
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(7, 28, 44, .05);
  -webkit-overflow-scrolling: touch;
}

.entry-content .wp-block-table table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: none;
}

.entry-content table th,
.entry-content table td {
  min-width: 120px;
  padding: 15px 16px;
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
  border: 0;
  border-right: 1px solid var(--qc-line);
  border-bottom: 1px solid var(--qc-line);
}

.entry-content table th {
  color: #fff;
  background: var(--qc-navy-800);
  font-weight: 700;
  letter-spacing: .02em;
}

.entry-content table tr:last-child > * { border-bottom: 0; }
.entry-content table tr > *:last-child { border-right: 0; }
.entry-content table tbody tr:nth-child(even) td { background: #f8faf9; }
.entry-content table tbody tr:hover td { background: var(--qc-soft); }
.entry-content .wp-block-table + p { color: var(--qc-text-500); font-size: 11px; line-height: 1.7; }

/* Affiliate/product units */
.easyLink-box {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  margin: 2.2em 0;
  padding: 22px;
  background: var(--qc-paper);
  border: 1px solid var(--qc-line-dark);
  border-top: 3px solid var(--qc-teal-600);
  border-radius: 5px;
  box-shadow: 0 10px 28px rgba(7, 28, 44, .06);
}

.easyLink-img-box { grid-row: 1 / span 2; align-self: center; }
.easyLink-info-box { min-width: 0; }
.easyLink-info-name { color: var(--qc-navy-950); font-size: 16px; font-weight: 750; line-height: 1.65; }
.easyLink-info-btn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 16px; }

.easyLink-info-btn a,
.entry-content .btn,
.entry-content .wp-block-button__link,
.ranking-item-link-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 15px;
  color: #fff;
  background: var(--qc-teal-700);
  border: 1px solid var(--qc-teal-700);
  border-radius: 4px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  letter-spacing: .02em;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.easyLink-info-btn a:hover,
.entry-content .btn:hover,
.entry-content .wp-block-button__link:hover,
.ranking-item-link-buttons a:hover {
  color: #fff;
  background: var(--qc-navy-800);
  border-color: var(--qc-navy-800);
  transform: translateY(-1px);
}

.easyLink-info-btn-amazon { background: #a85b18; border-color: #a85b18; }
.easyLink-info-btn-rakuten { background: #a33a3a; border-color: #a33a3a; }
.easyLink-info-btn-yahoo { background: #315c8b; border-color: #315c8b; }

/* Internal pathways */
.blogcard-wrap {
  margin: 2em 0;
  color: inherit;
  background: var(--qc-paper);
  border: 1px solid var(--qc-line);
  border-left: 4px solid var(--qc-navy-800);
  border-radius: 4px;
  box-shadow: none;
  transition: border-color .18s ease, background .18s ease;
}

.blogcard-wrap:hover { background: #f8faf9; border-color: var(--qc-teal-600); }
.blogcard-title { color: var(--qc-navy-900); font-size: 15px; line-height: 1.6; }
.blogcard-snippet { color: var(--qc-text-500); font-size: 11px; line-height: 1.7; }

/* =========================================================
   Article ending
   ========================================================= */

.article-footer { margin-top: 58px; padding-top: 38px; border-top: 1px solid var(--qc-line); }
.article-footer .sns-share-buttons { max-width: 520px; margin-right: auto; margin-left: auto; }
.article-footer .author-box { margin: 34px 0; padding: 20px; background: #f7f9f8; border: 1px solid var(--qc-line); border-radius: 4px; }

.related-entries { margin-top: 52px; }

.related-entries-title {
  margin: 0 0 22px;
  padding-bottom: 13px;
  color: var(--qc-navy-950);
  font-size: 22px;
  font-weight: 750;
  border-bottom: 1px solid var(--qc-line-dark);
}

.related-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.related-entry-card-wrap {
  margin: 0;
  overflow: hidden;
  color: inherit;
  background: var(--qc-paper);
  border: 1px solid var(--qc-line);
  border-radius: 5px;
  box-shadow: none;
  transition: border-color .18s ease, transform .18s ease;
}

.related-entry-card-wrap:hover { border-color: var(--qc-teal-600); transform: translateY(-2px); }
.related-entry-card-thumb { margin: 0; }
.related-entry-card-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.related-entry-card-content { padding: 15px 16px 18px; }
.related-entry-card-title { color: var(--qc-navy-900); font-size: 14px; font-weight: 650; line-height: 1.65; }

/* =========================================================
   Archive/category cards
   ========================================================= */

.archive-title,
.list-title {
  margin: 0 0 30px;
  padding: 0 0 19px;
  border-bottom: 1px solid var(--qc-line-dark);
}

.entry-card-wrap {
  display: block;
  margin: 0 0 18px;
  overflow: hidden;
  color: inherit;
  background: var(--qc-paper);
  border: 1px solid var(--qc-line);
  border-radius: 5px;
  box-shadow: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.entry-card-wrap:hover {
  border-color: var(--qc-teal-600);
  box-shadow: 0 10px 26px rgba(7, 28, 44, .065);
  transform: translateY(-2px);
}

.entry-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 165px; }
.entry-card-thumb { width: 220px; height: 100%; margin: 0; overflow: hidden; background: var(--qc-soft); }
.entry-card-thumb img { display: block; width: 100%; height: 100%; min-height: 165px; object-fit: cover; border-radius: 0; transition: transform .3s ease; }
.entry-card-wrap:hover .entry-card-thumb img { transform: scale(1.025); }
.entry-card-content { min-width: 0; padding: 22px 24px; }
.entry-card-title { margin: 0 0 9px; color: var(--qc-navy-950); font-size: 18px; font-weight: 700; line-height: 1.58; }
.entry-card-snippet { color: var(--qc-text-700); font-size: 12px; line-height: 1.75; }
.entry-card-meta { margin-top: 10px; color: var(--qc-text-500); font-size: 10px; letter-spacing: .04em; }

.pagination { margin-top: 40px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; margin: 3px; padding: 6px 10px; color: var(--qc-navy-800); background: var(--qc-paper); border: 1px solid var(--qc-line-dark); border-radius: 4px; }
.pagination .current, .pagination a:hover { color: #fff; background: var(--qc-navy-800); border-color: var(--qc-navy-800); }

/* =========================================================
   Sidebar as reader assistance
   ========================================================= */

#sidebar { display: flex; flex-direction: column; gap: 20px; }
#search-2 { order: 1; }
#popular_entries-2 { order: 2; }
#categories-2 { order: 3; }
#author_box-2 { order: 4; }
#block-5 { order: 5; }
#block-6 { order: 6; }

.sidebar .widget {
  margin: 0;
  padding: 22px 20px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--qc-line);
  border-top: 3px solid var(--qc-navy-800);
  border-radius: 4px;
  box-shadow: none;
}

.sidebar .widget-title,
.sidebar .widget h2 {
  margin: 0 0 16px;
  padding: 0 0 11px;
  color: var(--qc-navy-900);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--qc-line);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .045em;
}

.sidebar .widget-title::after,
.sidebar .widget h2::after { content: none; }

.search-box { display: flex; min-height: 45px; overflow: hidden; background: var(--qc-paper); border: 1px solid var(--qc-line-dark); border-radius: 4px; }
.search-edit { min-width: 0; padding: 0 13px; border: 0; font-size: 13px; }
.search-submit { width: 44px; color: #fff; background: var(--qc-navy-800); border: 0; }

.popular-entry-card-wrap { padding: 10px 0; border-bottom: 1px solid var(--qc-line); }
.popular-entry-card-wrap:last-child { border-bottom: 0; }
.popular-entry-card-thumb { width: 82px; }
.popular-entry-card-title { color: var(--qc-text-900); font-size: 12px; line-height: 1.55; }

.widget_categories ul { margin: 0; padding: 0; }
.widget_categories li { border-bottom: 1px solid var(--qc-line); }
.widget_categories li:last-child { border-bottom: 0; }
.widget_categories li a { display: flex; align-items: center; padding: 9px 2px; color: var(--qc-text-700); font-size: 12px; text-decoration: none; }
.widget_categories li a::before { content: "›"; margin-right: 8px; color: var(--qc-teal-700); font-size: 17px; line-height: 1; }

.sidebar .author-box { padding: 0; border: 0; }
.sidebar .author-thumb img { width: 72px; border: 2px solid var(--qc-line); border-radius: 50%; box-shadow: none; }
.sidebar .author-name { color: var(--qc-navy-900); font-size: 14px; font-weight: 700; }
.sidebar .author-description { color: var(--qc-text-700); font-size: 11px; line-height: 1.75; }

/* =========================================================
   Front page: clear routes, restrained presentation
   ========================================================= */

.home #main { padding: 0; background: transparent; border: 0; box-shadow: none; }
.home .article { padding: 0; }
.home .entry-header { margin: 0 0 14px; }
.home .entry-title { color: var(--qc-text-500); font-size: 11px; font-weight: 650; letter-spacing: .1em; }
.home .entry-content { max-width: none; font-size: 16px; }

.home .entry-content > .wp-block-cover {
  min-height: 420px;
  margin: 0 0 46px;
  overflow: hidden;
  border: 0;
  border-radius: var(--qc-radius);
  box-shadow: var(--qc-shadow);
}

.home .wp-block-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,28,44,.88), rgba(7,28,44,.33));
  pointer-events: none;
}

.home .wp-block-cover__inner-container { z-index: 1; max-width: 720px; padding: 48px; }
.home .wp-block-cover__inner-container h2 { margin: 0 0 18px; padding: 0; color: #fff; font-size: clamp(30px, 3.1vw, 42px); line-height: 1.45; background: transparent; border: 0; }
.home .wp-block-cover__inner-container h2::before { content: none; }
.home .wp-block-cover__inner-container p { color: rgba(255,255,255,.88); font-size: 16px; line-height: 2; }

.home .entry-content > h2 {
  margin: 58px 0 24px;
  padding: 0 0 14px;
  color: var(--qc-navy-950);
  font-size: 25px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--qc-line-dark);
}

.home .entry-content > h2::before { top: auto; right: auto; bottom: -1px; left: 0; width: 68px; height: 3px; background: var(--qc-teal-600); }

.home .column-wrap { gap: 16px; margin-bottom: 16px; }
.home .column-wrap .column-left,
.home .column-wrap .column-right { padding: 20px; background: var(--qc-paper); border: 1px solid var(--qc-line); border-radius: 5px; box-shadow: none; transition: border-color .18s ease, transform .18s ease; }
.home .column-wrap .column-left:hover,
.home .column-wrap .column-right:hover { border-color: var(--qc-teal-600); transform: translateY(-2px); }

.home .tab-block { overflow: hidden; background: var(--qc-paper); border: 1px solid var(--qc-line-dark); border-radius: 5px; box-shadow: none; }
.home .tab-label-group { background: #eef2f2; border-bottom: 1px solid var(--qc-line); }
.home .tab-label { padding: 13px 14px; color: var(--qc-text-700); font-size: 12px; font-weight: 650; }
.home .tab-label.is-active, .home .tab-label:hover { color: #fff; background: var(--qc-navy-800); }
.home .tab-content { padding: 25px; }

.home .wp-block-latest-posts { margin: 0; padding: 4px 22px; list-style: none; background: var(--qc-paper); border: 1px solid var(--qc-line); border-radius: 5px; }
.home .wp-block-latest-posts li { margin: 0; padding: 15px 2px; border-bottom: 1px solid var(--qc-line); }
.home .wp-block-latest-posts li:last-child { border-bottom: 0; }
.home .wp-block-latest-posts a { color: var(--qc-navy-900); font-size: 14px; font-weight: 650; text-decoration: none; }
.home .sns-share-buttons { max-width: 520px; margin-right: auto; margin-left: auto; }

/* =========================================================
   Footer
   ========================================================= */

#footer {
  color: rgba(255,255,255,.72);
  background: var(--qc-navy-950);
  border-top: 4px solid var(--qc-teal-600);
}

.footer-in { padding-top: 48px; padding-bottom: 34px; }
.footer-widgets { padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .widget-title, .footer h2 { color: #fff; background: transparent; border: 0; font-size: 15px; }
.footer a { color: rgba(255,255,255,.74); }
.footer a:hover { color: #fff; }
.footer-bottom { padding-top: 25px; }
.footer-bottom-logo .site-name-text { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: .07em; }
.copyright { color: rgba(255,255,255,.46); font-size: 10px; letter-spacing: .05em; }

.mobile-footer-menu-buttons {
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--qc-line-dark);
  box-shadow: 0 -6px 20px rgba(7,28,44,.1);
  backdrop-filter: blur(10px);
}
.mobile-menu-buttons .menu-button > a { color: var(--qc-navy-900); }

/* =========================================================
   Responsive system
   ========================================================= */

@media screen and (max-width: 1180px) {
  .wrap { width: min(100% - 36px, 980px); }
  .content-in { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  #main { width: 100%; }
  #sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .sidebar .widget { height: 100%; }
  .single .article-header,
  .single .entry-content,
  .single .article-footer { max-width: 720px; }
}

@media screen and (max-width: 1023px) {
  #header-container-in { display: block; min-height: 0; }
  #header { min-height: 78px; }
  #header-in { justify-content: center; min-height: 78px; padding: 0 18px; }
  .logo-header { text-align: center; }
  .logo-text .site-name-text { font-size: 25px; }
  .tagline { font-size: 9px; }
  #content { padding: 34px 0 68px; }
  #main { padding: 48px clamp(34px, 6vw, 56px) 56px; }
}

@media screen and (max-width: 834px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 24px); }
  #header { min-height: 72px; }
  #header-in { min-height: 72px; }
  .logo-text .site-name-text { font-size: 22px; }
  .tagline { margin-top: 5px; }
  #header-container-in > .google-auto-placed { padding: 10px 0; }
  #content { padding: 22px 0 62px; }
  #main { padding: 38px 26px 48px; border-top-width: 3px; border-radius: 5px; }
  #sidebar { grid-template-columns: 1fr; }
  .entry-title, .archive-title { font-size: clamp(27px, 5.5vw, 34px); line-height: 1.48; }
  .date-tags { margin-top: 14px; margin-bottom: 20px; }
  .entry-content { font-size: 16px; line-height: 2; }
  .entry-content > p:first-of-type { font-size: 16px; }
  .entry-content h2 { margin-top: 3.1em; font-size: 23px; }
  .entry-content h3 { font-size: 20px; }
  .toc { padding: 20px 20px 18px; }
  .toc-list { columns: 1; }
  .entry-content .wp-block-table { padding-bottom: 5px; }
  .entry-content table th,
  .entry-content table td { min-width: 126px; padding: 13px 14px; font-size: 12px; }
  .entry-content table tr > :first-child { position: sticky; left: 0; z-index: 1; box-shadow: 4px 0 8px rgba(7,28,44,.05); }
  .entry-content table tbody tr > td:first-child { background: #fff; font-weight: 650; }
  .entry-content table tbody tr:nth-child(even) > td:first-child { background: #f8faf9; }
  .easyLink-box { grid-template-columns: 110px minmax(0, 1fr); gap: 15px; padding: 17px; }
  .easyLink-info-btn { grid-template-columns: 1fr; }
  .easyLink-info-btn a { min-height: 46px; }
  .entry-card { grid-template-columns: 180px minmax(0, 1fr); min-height: 145px; }
  .entry-card-thumb { width: 180px; }
  .entry-card-thumb img { min-height: 145px; }
  .entry-card-content { padding: 18px 19px; }
  .entry-card-title { font-size: 16px; }
  .entry-card-snippet { font-size: 11px; }
  .home .wp-block-cover__inner-container { padding: 36px; }
  .home .entry-content > .wp-block-cover { min-height: 390px; }
}

@media screen and (max-width: 480px) {
  #header { min-height: 66px; }
  #header-in { min-height: 66px; padding: 0 12px; }
  .logo-text .site-name-text { font-size: 20px; }
  .tagline { max-width: 310px; font-size: 8px; line-height: 1.45; }
  .breadcrumb { padding-top: 8px; font-size: 9px; }
  #content { padding-top: 14px; }
  #main { padding: 31px 18px 42px; border-right: 0; border-left: 0; border-radius: 0; }
  .entry-title, .archive-title { font-size: 25px; line-height: 1.5; }
  .date-tags { gap: 5px 10px; font-size: 10px; }
  .eye-catch { border-radius: 4px; }
  .sns-share-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .entry-content h2 { padding: 15px 0 14px 15px; font-size: 21px; }
  .entry-content h2::before { top: 18px; bottom: 18px; }
  .entry-content h3 { padding-left: 12px; font-size: 19px; }
  .entry-content h4 { font-size: 17px; }
  .toc { margin: 28px 0 40px; padding: 18px 16px 16px; }
  .toc-title { font-size: 14px; }
  .toc-list { font-size: 12px; }
  :is(.information-box, .question-box, .alert-box, .memo-box, .comment-box, .common-icon-box,
      .is-style-stitch-box, .is-style-primary-box, .is-style-secondary-box) { padding: 17px 16px; }
  .easyLink-box { display: block; padding: 16px; }
  .easyLink-img-box { max-width: 150px; margin: 0 auto 14px; }
  .easyLink-info-name { font-size: 15px; text-align: center; }
  .easyLink-info-btn { margin-top: 13px; }
  .related-list { grid-template-columns: 1fr; }
  .entry-card { display: block; }
  .entry-card-thumb { width: 100%; height: auto; }
  .entry-card-thumb img { min-height: 0; aspect-ratio: 16 / 9; }
  .entry-card-content { padding: 17px 16px 19px; }
  .entry-card-snippet { margin-top: 7px; line-height: 1.7; }
  .home .entry-header { margin-bottom: 10px; }
  .home .entry-content > .wp-block-cover { min-height: 380px; border-radius: 5px; }
  .home .wp-block-cover__inner-container { padding: 26px 21px; }
  .home .wp-block-cover__inner-container h2 { font-size: 28px; line-height: 1.45; }
  .home .wp-block-cover__inner-container p { font-size: 14px; line-height: 1.9; }
  .home .entry-content > h2 { margin-top: 44px; font-size: 22px; }
  .home .column-wrap .column-left,
  .home .column-wrap .column-right { padding: 16px; }
  .home .tab-label { padding: 10px 8px; font-size: 11px; }
  .home .tab-content { padding: 18px 14px; }
  .home .wp-block-latest-posts { padding: 3px 14px; }
  .footer-in { padding-top: 36px; }
}
