/* PageSpeed lightweight cleanup 2026-06-28 */
body .hatena-module-profile,
body .hatena-module-archive,
body .hatena-module-recent-comments,
body .hatena-module-circles,
body .hatena-module-related-entries,
body .related-entries,
body .hatena-star-container,
body .hatena-bookmark-comment,
body .social-buttons,
body .entry-footer-html .hatena-star-container,
body .entry-footer .social-buttons {
  display: none !important;
}

.entry-content img,
.entry-content iframe,
.hatena-fotolife,
.hatena-module img,
.urllist-image,
.entry-thumb,
.archive-entry img {
  max-width: 100%;
  height: auto;
}

.hatena-urllist .urllist-image,
.hatena-module-recent-entries .urllist-image,
.archive-entry .entry-thumb,
.page-index .entry-thumb {
  display: none !important;
}

#box2,
#footer,
#bottom-editarea {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

#blog-title,
.entry-title,
.entry-content {
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .entry,
  .entry-inner,
  .entry-content {
    max-width: 100%;
  }
}

/* =========================================================
   Design System v10 - 2026-07-16
   Lightweight, responsive and conversion-safe global layer.
   ========================================================= */

:root {
  --site-ink: #213547;
  --site-navy: #17324d;
  --site-blue: #0b5cab;
  --site-teal: #147d6f;
  --site-coral: #d9541e;
  --site-green: #2f7d55;
  --site-muted: #5f6f7f;
  --site-line: #dbe4ea;
  --site-soft: #eef4f6;
  --site-bg: #f5f7f9;
  --site-white: #ffffff;
}

html {
  box-sizing: border-box;
  background: var(--site-bg);
}

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

body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--site-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #08477f;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f2a44b;
  outline-offset: 3px;
}

#container,
#container-inner,
#content,
#wrapper,
#main {
  width: 100%;
  min-width: 0;
}

#blog-title {
  padding: 28px 20px 24px;
  background: var(--site-white);
  border-bottom: 1px solid var(--site-line);
}

#blog-title-inner,
#blog-title-content {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

#title {
  margin: 0;
  color: var(--site-navy);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
}

#title a {
  color: inherit;
  text-decoration: none;
}

#blog-description {
  max-width: 900px;
  margin: 10px 0 0;
  color: var(--site-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0;
}

#content {
  padding: 32px 20px 64px;
}

#content-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

#wrapper,
#main,
#main-inner {
  min-width: 0;
}

#box1:empty {
  display: none;
}

.archive-entries {
  display: grid;
  gap: 18px;
}

.archive-entry,
.entry {
  margin: 0;
  background: var(--site-white);
  border: 1px solid var(--site-line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(23, 50, 77, 0.06);
}

.archive-entry {
  padding: 24px;
}

.archive-entry-header {
  margin-bottom: 8px;
}

.archive-entry .date,
.entry-date,
.entry-date a {
  color: var(--site-muted);
  font-size: 14px;
  font-weight: 600;
}

.archive-entry-title,
.entry-title {
  margin: 0;
  color: var(--site-navy);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0;
}

.archive-entry-title {
  font-size: 23px;
}

.archive-entry-title a,
.entry-title a {
  color: inherit;
  text-decoration: none;
}

.archive-entry-title a:hover,
.entry-title a:hover {
  color: var(--site-blue);
}

.archive-entry-body {
  color: #465869;
}

.archive-entry-body p,
.archive-entry-description {
  margin: 12px 0 0;
  line-height: 1.85;
}

.archive-entry .categories a,
.entry-categories a {
  display: inline-block;
  margin: 10px 6px 0 0;
  padding: 3px 8px;
  color: #3f566a;
  background: var(--site-soft);
  border: 1px solid var(--site-line);
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
}

.pager {
  margin-top: 24px;
  text-align: center;
}

.pager a {
  display: inline-block;
  padding: 10px 16px;
  color: var(--site-blue);
  background: var(--site-white);
  border: 1px solid #b9c9d6;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

/* Home hub: keep the section unframed and use cards only for each choice. */
.tg-home-complete-guide {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.tg-home-complete-guide__card {
  border-color: var(--site-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 20px rgba(23, 50, 77, 0.05) !important;
}

.tg-home-complete-guide__button {
  color: var(--site-white) !important;
  background: var(--site-blue) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  letter-spacing: 0 !important;
}

.tg-home-complete-guide__button--orange {
  background: var(--site-coral) !important;
}

.tg-home-complete-guide__button--tg-direct {
  background: var(--site-green) !important;
}

#box2 p {
  background-image: none !important;
}

.entry-inner {
  padding: 34px 38px 42px;
}

.entry-header {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--site-line);
}

.entry-content {
  color: var(--site-ink);
  font-size: 17px;
  line-height: 1.9;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-top: 1.15em;
  margin-bottom: 1.15em;
}

.entry-content li + li {
  margin-top: 0.35em;
}

.entry-content h2 {
  margin: 2.5em 0 1em;
  padding: 0 0 0.55em;
  color: var(--site-navy);
  background: none;
  border: 0;
  border-bottom: 2px solid var(--site-teal);
  border-radius: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0;
}

.entry-content h3 {
  margin: 2em 0 0.8em;
  padding: 0.15em 0 0.15em 0.75em;
  color: var(--site-navy);
  background: none;
  border: 0;
  border-left: 4px solid var(--site-coral);
  border-radius: 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0;
}

.entry-content h4 {
  margin: 1.8em 0 0.7em;
  color: var(--site-navy);
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: 0;
}

.entry-content blockquote {
  margin: 1.5em 0;
  padding: 16px 18px;
  color: #405467;
  background: #f2f6f7;
  border: 0;
  border-left: 4px solid var(--site-teal);
}

.entry-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}

.entry-content th,
.entry-content td {
  padding: 11px 12px;
  border: 1px solid #cfdbe3;
  vertical-align: top;
}

.entry-content th {
  color: var(--site-navy);
  background: var(--site-soft);
  font-weight: 800;
}

.entry-content img {
  border-radius: 8px;
}

.entry-content figcaption {
  margin-top: 6px;
  color: var(--site-muted);
  font-size: 13px;
  text-align: center;
}

.entry-content .cta,
.entry-content .btn,
.entry-content .cta a,
.entry-content .cta-button,
.entry-content .affiliate-button {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* The platform entry title is the single visible article title. */
.entry-content .hero .hero-title {
  display: none !important;
}

.entry-content .hero .hero-sub {
  margin: 14px 0 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: 0;
}

.entry-content .btn,
.entry-content .cta a,
.entry-content .cta-button,
.entry-content .affiliate-button {
  animation-iteration-count: 3 !important;
}

#box2 {
  min-width: 0;
}

.hatena-module {
  margin: 0 0 16px;
  padding: 18px;
  background: var(--site-white);
  border: 1px solid var(--site-line);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(23, 50, 77, 0.05);
}

.hatena-module-title {
  margin: 0 0 12px;
  padding: 0 0 9px;
  color: var(--site-navy);
  border-bottom: 2px solid var(--site-teal);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.hatena-module-title a {
  color: inherit;
  text-decoration: none;
}

.hatena-module ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hatena-module li {
  padding: 9px 0;
  border-bottom: 1px solid #edf1f4;
}

.hatena-module li:last-child {
  border-bottom: 0;
}

.hatena-module a {
  color: #314b61;
  font-weight: 600;
  line-height: 1.55;
  text-decoration: none;
}

.hatena-module a:hover {
  color: var(--site-blue);
}

#footer,
#bottom-editarea {
  color: var(--site-muted);
  background: var(--site-white);
  border-top: 1px solid var(--site-line);
}

@media (max-width: 900px) {
  #content-inner {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  #blog-title {
    padding: 20px 16px 18px;
  }

  #title {
    font-size: 23px;
    line-height: 1.45;
  }

  #blog-description {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.7;
  }

  #content {
    padding: 18px 12px 48px;
  }

  #content-inner {
    display: block;
    width: 100%;
  }

  #box2 {
    margin-top: 28px;
  }

  .archive-entries {
    gap: 14px;
  }

  .archive-entry {
    padding: 18px 16px;
  }

  .archive-entry-title {
    font-size: 20px;
    line-height: 1.55;
  }

  .entry-inner {
    padding: 22px 16px 32px;
  }

  .entry-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .entry-title {
    font-size: 23px;
    line-height: 1.5;
  }

  .entry-content {
    font-size: 16px;
    line-height: 1.85;
  }

  .entry-content h2 {
    margin-top: 2.2em;
    font-size: 22px;
  }

  .entry-content h3 {
    font-size: 19px;
  }

  .entry-content .hero .hero-sub {
    font-size: 18px;
    line-height: 1.75;
  }

  .entry-content th,
  .entry-content td {
    padding: 9px 10px;
  }

  .hatena-module {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:root {
  --site-coral: #c74612;
}
