@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
*/

/* AI Market Daily — Editorial Light design system */
:root {
  --amd-canvas: #f6f8fa;
  --amd-surface: #ffffff;
  --amd-text: #172033;
  --amd-muted: #526070;
  --amd-border: #d8e0e8;
  --amd-link: #0b63ce;
  --amd-brand: #0f766e;
  --amd-navy: #11253f;
  --amd-soft-blue: #eef5fb;
}

body {
  background: #f6f8fa !important;
  color: #172033 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif !important;
  line-height: 1.85;
}

/* Header: quiet publication identity with one clear navigation band. */
.header { background: #ffffff; color: #172033; }
.header-in { padding-top: 12px; padding-bottom: 10px; }
.logo.logo-header { padding-top: 6px; padding-bottom: 10px; }
.tagline { margin-top: 4px; margin-bottom: 4px; font-size: 13px; }
.site-name-text, .site-name-text a { color: #11253f; font-weight: 700; letter-spacing: -0.02em; }
.tagline { color: #526070; }
.navi, .navi-in > ul { background: #11253f !important; }
.navi-in a, .navi-in a:hover { color: #ffffff !important; }
.navi-in > ul > li > a { min-height: 48px; font-weight: 600; letter-spacing: 0.01em; }
.navi-in .item-description { display: none; }
.navi-in > ul > li > a:hover,
.navi-in > ul > li.current-menu-item > a,
.navi-in > ul > li.current-menu-ancestor > a { background: #193a60; box-shadow: inset 0 -3px 0 #0f766e; }

/* Reading surfaces */
.content-in { max-width: 1120px; }
.main, .sidebar .widget { background: #ffffff; border: 1px solid #d8e0e8; box-shadow: none; }
.main { border-radius: 14px; }
.entry-title, .article h1, .article h2, .article h3, .article h4 { color: #172033; font-family: inherit; }
.entry-title { font-size: clamp(1.8rem, 3vw, 2.35rem); line-height: 1.4; letter-spacing: -0.02em; }
.entry-content { color: #172033; font-size: 17px; line-height: 1.9; }
.entry-content p { margin-bottom: 1.45em; }
.entry-content h2 { margin-top: 2.8em; margin-bottom: 1em; padding: 0.65em 0 0.65em 0.85em; border: 0; border-left: 5px solid #0f766e; background: #eef5fb; font-size: 1.55rem; line-height: 1.45; }
.entry-content h3 { margin-top: 2.2em; margin-bottom: 0.8em; padding: 0 0 0.45em; border: 0; border-bottom: 2px solid #d8e0e8; background: transparent; font-size: 1.25rem; line-height: 1.5; }
.entry-content a { color: #0b63ce; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.entry-content a:hover, .entry-content a:focus-visible { color: #084d9a; text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }
.entry-content table { border-color: #d8e0e8; }
.entry-content th { background: #eef5fb; color: #172033; }
.entry-content th, .entry-content td { padding: 0.8em 0.9em; border-color: #d8e0e8; }
.breadcrumb, .post-date, .post-update, .author-info, .entry-card-info, .related-entry-card-info { color: #526070; }

/* Home and archive cards */
.list-title, .related-entry-heading, .widget-title { color: #172033; border-color: #d8e0e8; }
.entry-card-wrap, .related-entry-card-wrap { border: 1px solid #d8e0e8; border-radius: 4px; background: #ffffff; transition: border-color 0.15s ease, transform 0.15s ease; }
.entry-card-wrap:hover, .related-entry-card-wrap:hover { border-color: #9bb5cc; transform: translateY(-1px); }
.entry-card-title, .related-entry-card-title { color: #172033; font-weight: 700; line-height: 1.5; }
.cat-label { background: #11253f; color: #ffffff; border: 0; }
.footer { background: #11253f; color: #e8eef5; }
.footer a { color: #ffffff; }

@media screen and (max-width: 768px) {
  body { font-size: 16px; }
  .header-in { padding-top: 8px; padding-bottom: 8px; }
  .logo.logo-header { padding-top: 6px; padding-bottom: 6px; }
  .tagline { display: none; }
  .main { border-left: 0; border-right: 0; border-radius: 0; }
  .entry-title { font-size: 1.75rem; line-height: 1.42; }
  .entry-content { font-size: 16px; line-height: 1.85; }
  .entry-content h2 { margin-top: 2.35em; font-size: 1.35rem; }
  .entry-content h3 { margin-top: 2em; font-size: 1.15rem; }
  .entry-content .wp-block-table, .entry-content .scrollable-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .entry-card-wrap:hover, .related-entry-card-wrap:hover { transform: none; }
}

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

/* Accessible navigation contrast */
#navi .navi-in a, #navi .navi-in a:hover, #navi .navi-in a:focus { color: #ffffff !important; }


/* AI Market Lab global navigation accent. */
#navi .navi-in a[href="https://aimarketdaily.jp/lab/"],
#navi .navi-in a[href="https://aimarketdaily.jp/lab/"]:hover,
#navi .navi-in a[href="https://aimarketdaily.jp/lab/"]:focus-visible {
  color: #c8241d !important;
  background: transparent !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

#navi .navi-in a[href="https://aimarketdaily.jp/lab/"]:hover,
#navi .navi-in a[href="https://aimarketdaily.jp/lab/"]:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}


/* AI Market Lab mobile drawer accent. */
#navi-menu-content .menu-drawer a[href="https://aimarketdaily.jp/lab/"],
#navi-menu-content .menu-drawer a[href="https://aimarketdaily.jp/lab/"]:hover,
#navi-menu-content .menu-drawer a[href="https://aimarketdaily.jp/lab/"]:focus-visible {
  color: #c8241d !important;
  background: transparent !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

#navi-menu-content .menu-drawer a[href="https://aimarketdaily.jp/lab/"]:hover,
#navi-menu-content .menu-drawer a[href="https://aimarketdaily.jp/lab/"]:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

/* Lab article: hide only the category overlay on the featured image. */
body.single-post.amd-lab-design article.post-192 .eye-catch .cat-label {
  visibility: hidden;
}
