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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* ===== Design Tokens (video-navi.com) ===== */
:root {
  --site-primary: #2563EB;
  --site-secondary: #06B6D4;
  --site-accent: #14B8A6;
  --site-ink: #172033;
  --site-muted: #596579;
  --site-bg-soft: #EAF3FF;
}

.site-key-color {
  color: var(--site-primary);
}

.site-cta-button {
  background: linear-gradient(90deg, var(--site-primary), var(--site-secondary));
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
}

.site-info-box {
  border-left: 5px solid var(--site-primary);
  background: var(--site-bg-soft);
}
/* ===== /Design Tokens ===== */

/* === video-navi custom styles: start === */
/* ============================================
   video-navi.com Additional CSS
   Header visibility + comparison tables
   ============================================ */

/* ============================================
   Header
   ============================================ */

#header {
  position: relative;
  overflow: hidden;
  min-height: 128px !important;
  background-position: center 42% !important;
  background-size: cover !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

#header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 33, 68, 0.62), rgba(8, 33, 68, 0.46)),
    rgba(0, 40, 80, 0.24);
  z-index: 0;
  pointer-events: none;
}

#header-in {
  position: relative;
  z-index: 1;
  min-height: 128px !important;
  padding: 16px 20px 18px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tagline {
  order: 2;
  max-width: 92%;
  margin: 10px auto 0 !important;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.logo-header {
  margin: 0 !important;
  line-height: 1 !important;
}

.site-logo img {
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.42));
}

.site-logo {
  background: transparent;
}

#header .header-site-logo-image {
  width: 286px !important;
  max-width: min(42vw, 320px) !important;
  height: auto !important;
}

#navi {
  background: #fff !important;
  border-bottom: 1px solid #dbe7f5;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

#navi .navi-in > ul {
  display: flex;
  justify-content: center;
}

#navi .navi-in > ul > li > a {
  position: relative;
  min-height: 64px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  color: #111827 !important;
  font-weight: 800;
  letter-spacing: 0;
}

#navi .navi-in > ul > li > a:hover {
  color: #0f6fdc !important;
  background: #f8fbff;
}

#navi .navi-in > ul > li.current-menu-item > a {
  color: #0f6fdc !important;
  border-bottom: 0;
}

#navi .navi-in > ul > li > a::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

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

#header .menu-button {
  color: #fff !important;
}

@media (width <= 834px) {
  #header.header {
    min-height: 96px !important;
    background-image: none !important;
    background: #0f3f78 !important;
  }

  #header::before {
    background: linear-gradient(180deg, rgba(0, 20, 48, 0.22), rgba(0, 20, 48, 0.08)) !important;
  }

  #header-in.header-in {
    min-height: 96px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #header .tagline {
    display: none !important;
  }

  #header .logo-header {
    margin: 0 !important;
    line-height: 1 !important;
  }

  #header .header-site-logo-image {
    width: 220px !important;
    max-width: 72vw !important;
    height: auto !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.38)) !important;
  }

  #navi .navi-in > ul > li > a {
    min-height: 50px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  #navi .navi-in > ul > li > a::after {
    left: 12px;
    right: 12px;
  }
}

/* Keep the compact PR badge and hide the larger sentence-style ad label. */
.pr-label.pr-label-l {
  display: none;
}

/* ============================================
   Pre-TOC Lead Box
   ============================================ */

.entry-content .vn-lead-box {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid #dbe7f5;
  border-left: 5px solid #2563eb;
  border-radius: 8px;
  background: #f7fbff;
}

.entry-content .vn-lead-box p {
  margin-top: 0;
}

.entry-content .vn-lead-box p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Common CTA Buttons
   ============================================ */

.entry-content .site-cta {
  margin: 24px 0;
  text-align: center;
}

.entry-content .site-cta-label {
  margin: 0 0 8px;
  color: #0f4bc5;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.6;
}

.entry-content .site-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  background: #e8380d;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(232, 56, 13, 0.24);
}

.entry-content .site-cta-button:hover {
  opacity: 0.9;
  color: #fff !important;
}

.entry-content .site-cta-note {
  margin: 8px 0 0;
  color: #596579;
  font-size: 0.86em;
  line-height: 1.7;
}

@media (width <= 834px) {
  .entry-content .site-cta {
    margin: 22px 0;
  }

  .entry-content .site-cta-button {
    width: 100%;
    padding: 13px 18px;
  }
}

/* ============================================
   VOD Comparison Tables
   ============================================ */

.entry-content .vod-table-wrap {
  position: relative;
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.06);
  -webkit-overflow-scrolling: touch;
}

.entry-content figure.vod-table-wrap {
  padding: 0;
}

.entry-content .vod-table-wrap::-webkit-scrollbar {
  height: 8px;
}

.entry-content .vod-table-wrap::-webkit-scrollbar-thumb {
  background: #b7c9e3;
  border-radius: 999px;
}

.entry-content .vod-compare-table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.94rem;
  line-height: 1.65;
}

.entry-content .vod-compare-table th,
.entry-content .vod-compare-table td {
  padding: 12px 14px;
  border: 0;
  border-right: 1px solid #dbe7f5;
  border-bottom: 1px solid #dbe7f5;
  vertical-align: middle;
}

.entry-content .vod-compare-table th:last-child,
.entry-content .vod-compare-table td:last-child {
  border-right: 0;
}

.entry-content .vod-compare-table tr:last-child td {
  border-bottom: 0;
}

.entry-content .vod-compare-table thead th {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #fff;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.entry-content .vod-compare-table tbody td:first-child {
  color: #172033;
  font-weight: 700;
  background: #f7fbff;
}

.entry-content .vod-compare-table tbody tr:nth-child(even) td {
  background-color: #fbfdff;
}

.entry-content .vod-compare-table tbody tr.is-recommended td {
  background: #eef8ff;
  font-weight: 700;
}

.entry-content .vod-compare-table tbody tr.is-recommended td:first-child {
  position: relative;
  color: #0f4bc5;
}

.entry-content .vod-compare-table tbody tr.is-recommended td:first-child::after {
  content: "\304A\3059\3059\3081";
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #14b8a6;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.4;
  vertical-align: middle;
}

.entry-content .vod-compare-table.is-dmm-column thead th:nth-child(2),
.entry-content .vod-compare-table.is-dmm-column tbody td:nth-child(2) {
  background: #eef8ff;
  font-weight: 700;
}

.entry-content .vod-compare-table.is-dmm-column thead th:nth-child(2) {
  background: linear-gradient(135deg, #1d4ed8, #14b8a6);
}

.entry-content .vod-table-cta {
  display: inline-block;
  min-width: 8em;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #fff !important;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
}

.entry-content .vod-table-cta:hover {
  opacity: 0.9;
}

.entry-content .vod-table-wrap + .has-small-font-size,
.entry-content .vod-table-wrap + p small {
  display: block;
  margin-top: -10px;
  color: #596579;
  line-height: 1.7;
}

@media (width <= 834px) {
  .entry-content .vod-table-wrap {
    margin: 20px -8px;
    border-radius: 6px;
  }

  .entry-content .vod-table-wrap::before {
    content: "\8868\306F\6A2A\306B\30B9\30AF\30ED\30FC\30EB\3067\304D\307E\3059";
    display: block;
    padding: 8px 12px;
    background: #eaf3ff;
    color: #596579;
    font-size: 0.78rem;
    font-weight: 700;
  }

  .entry-content .vod-compare-table {
    min-width: 680px;
    font-size: 0.86rem;
  }

  .entry-content .vod-compare-table th,
  .entry-content .vod-compare-table td {
    padding: 10px 11px;
  }
}

/* ============================================
   Purpose-first Home Page
   ============================================ */

.page-id-248 .entry-title,
.page-id-248 .date-tags,
.page-id-248 #toc,
.page-id-248 .toc,
.page-id-248 .sns-share,
.page-id-248 .sns-share-message,
.page-id-248 .sns-share-buttons {
  display: none !important;
}
.entry-content .vn-home {
  max-width: 1080px;
  margin: 0 auto;
  color: #172033;
}
.entry-content .vn-home a {
  text-decoration: none;
}
.entry-content .vn-home-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 26px;
  padding: 34px 34px 30px;
  border: 1px solid #d8e6f7;
  border-radius: 10px;
  background: linear-gradient(135deg, #f3f8ff 0%, #ecfeff 100%);
}
.entry-content .vn-home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #2563eb, #14b8a6);
}
.entry-content .vn-home-kicker {
  margin: 0 0 10px;
  color: #0f4bc5;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.6;
}
.entry-content .vn-home-title {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0;
}
.entry-content .vn-home-lead {
  max-width: 780px;
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.9;
}
.entry-content .vn-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.entry-content .vn-home-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid #b9d4ff;
  border-radius: 999px;
  background: #fff;
  color: #2563eb !important;
  font-weight: 700;
  line-height: 1.35;
}
.entry-content .vn-home-action.is-primary {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff !important;
}
.entry-content .vn-home-section {
  margin: 30px 0 0;
}
.entry-content .vn-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  padding: 0 0 11px;
  border-bottom: 1px solid #dbe7f5;
}
.entry-content .vn-section-title {
  margin: 0;
  color: #0f172a;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.45;
}
.entry-content .vn-section-note {
  margin: 0;
  color: #64748b;
  font-size: .88rem;
  line-height: 1.6;
}
.entry-content .vn-card-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
  margin: 0 !important;
}
.entry-content .vn-card {
  display: flex !important;
  min-width: 0;
  min-height: 172px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  background: #fff;
  color: #172033 !important;
  box-shadow: 0 8px 20px rgba(23, 32, 51, .05);
}
.entry-content .vn-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .10);
}
.entry-content .vn-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.entry-content .vn-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #2563eb;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
}
.entry-content .vn-card-arrow {
  color: #2563eb;
  font-weight: 800;
}
.entry-content .vn-card-title {
  margin: 0 0 10px;
  color: #0f4bc5;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.5;
}
.entry-content .vn-card-text {
  margin: 0;
  color: #475569;
  font-size: .94rem;
  line-height: 1.75;
}
.entry-content .vn-mini-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
}
.entry-content .vn-mini-card {
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dbe7f5;
  border-radius: 8px;
  background: #fff;
  color: #172033 !important;
  box-shadow: 0 8px 20px rgba(23, 32, 51, .04);
}
.entry-content .vn-mini-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .10);
}
.entry-content .vn-mini-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eaf3ff;
}
.entry-content .vn-mini-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.entry-content .vn-mini-body {
  display: flex;
  min-height: 138px;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
}
.entry-content .vn-mini-card strong {
  display: block;
  color: #0f4bc5;
  font-size: .98rem;
  line-height: 1.45;
}
.entry-content .vn-mini-body > span {
  display: block;
  margin-top: 12px;
  color: #475569;
  font-size: .88rem;
  line-height: 1.65;
}
.entry-content .vn-decision {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid #dbe7f5;
  border-radius: 10px;
  background: #f8fbff;
}
.entry-content .vn-decision-grid {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 12px !important;
  margin: 14px 0 0 !important;
}
.entry-content .vn-decision-item {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  min-height: 112px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  color: #172033 !important;
}
.entry-content .vn-decision-item strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.45;
}
.entry-content .vn-decision-item span {
  color: #475569;
  line-height: 1.7;
}
.entry-content .vn-home-disclaimer {
  margin: 22px 0 0;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.8;
}
@media (width <= 960px) {
  .entry-content .vn-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .entry-content .vn-decision-grid {
    flex-wrap: wrap;
  }
  .entry-content .vn-decision-item {
    flex-basis: calc(50% - 6px);
  }
}
@media (width <= 640px) {
  .entry-content .vn-home-hero {
    padding: 26px 20px 24px;
  }
  .entry-content .vn-home-actions,
  .entry-content .vn-section-head {
    display: block;
  }
  .entry-content .vn-home-action {
    width: 100%;
    margin-top: 10px;
  }
  .entry-content .vn-section-note {
    margin-top: 4px;
  }
  .entry-content .vn-card-grid,
  .entry-content .vn-mini-grid,
  .entry-content .vn-decision-grid {
    grid-template-columns: 1fr !important;
  }
  .entry-content .vn-decision-grid {
    display: block !important;
  }
  .entry-content .vn-decision-item {
    display: block;
    width: 100%;
    margin-top: 12px;
  }
  .entry-content .vn-decision-item:first-child {
    margin-top: 0;
  }
  .entry-content .vn-card,
  .entry-content .vn-mini-card {
    min-height: auto;
  }
  .entry-content .vn-mini-body {
    min-height: auto;
  }
}
/* === video-navi custom styles: end === */
