@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){
  /*必要ならばここにコードを書く*/
}

/* =========================================================
   偏愛映像録 — S017 editorial archive layer
   Existing product first-view and CTA styles are intentionally untouched.
   ========================================================= */
body.s017-brand {
  --s017-bg: #08131e;
  --s017-bg-2: #0d1924;
  --s017-surface: #131f29;
  --s017-surface-2: #182733;
  --s017-line: #2b3c47;
  --s017-text: #e9f0f2;
  --s017-muted: #a9b6bc;
  --s017-green: #00d084;
  --s017-amber: #f0a52b;
  background: var(--s017-bg);
  color: var(--s017-text);
  font-family: "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  line-height: 1.85;
}

body.s017-brand #container,
body.s017-brand #content,
body.s017-brand .content-in,
body.s017-brand main.main,
body.s017-brand .sidebar {
  background: var(--s017-bg-2);
}

body.s017-brand .content-in { max-width: 1180px; }
body.s017-brand main.main {
  border: 1px solid var(--s017-line);
  border-radius: 0;
  box-shadow: none;
}

body.s017-brand .header-container,
body.s017-brand .header-container-in,
body.s017-brand #header,
body.s017-brand .navi,
body.s017-brand #navi .navi-in > ul {
  background: var(--s017-bg);
  color: var(--s017-text);
}

body.s017-brand #header { border-bottom: 1px solid var(--s017-line); }
body.s017-brand .header-container-in,
body.s017-brand .header-in {
  height: 76px !important;
  min-height: 76px !important;
}
body.s017-brand .header-in { display: flex; align-items: center; }
body.s017-brand .logo-header {
  display: flex;
  align-items: center;
  height: 76px !important;
  margin: 0;
}
body.s017-brand .logo-header .site-name-text-link {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  height: 76px !important;
  padding: 0;
  line-height: 1.15;
}
body.s017-brand .logo-header .site-name-text { display: block !important; line-height: 1.15; }
body.s017-brand .tagline { display: none; }
body.s017-brand .logo-header .site-name-text {
  color: #fff;
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: .13em;
}
body.s017-brand .logo-header .site-name-text::after {
  content: "偏愛作品の編集アーカイブ";
  display: block;
  margin-top: 4px;
  color: var(--s017-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

body.s017-brand #navi .navi-in a,
body.s017-brand .mobile-menu-buttons a {
  color: var(--s017-text);
  font-weight: 700;
}
body.s017-brand #navi .navi-in a:hover,
body.s017-brand #navi .navi-in a:focus-visible,
body.s017-brand .mobile-menu-buttons a:hover,
body.s017-brand .mobile-menu-buttons a:focus-visible {
  background: var(--s017-surface);
  color: var(--s017-green);
}
body.s017-brand .mobile-menu-buttons {
  border-top: 1px solid var(--s017-line);
  background: var(--s017-bg);
}

body.s017-brand .entry-card-wrap,
body.s017-brand .related-entry-card-wrap,
body.s017-brand .widget-entry-card,
body.s017-brand .sidebar .widget,
body.s017-brand .author-box {
  border: 1px solid var(--s017-line);
  border-radius: 10px;
  background: var(--s017-surface);
  color: var(--s017-text);
  box-shadow: none;
}
body.s017-brand .entry-card-wrap:hover,
body.s017-brand .related-entry-card-wrap:hover {
  border-color: var(--s017-green);
  background: var(--s017-surface-2);
}
body.s017-brand .entry-card-title,
body.s017-brand .related-entry-card-title,
body.s017-brand .widget-entry-card-title,
body.s017-brand .sidebar h2,
body.s017-brand .sidebar h3 { color: var(--s017-text); }
body.s017-brand .entry-card-snippet,
body.s017-brand .post-date,
body.s017-brand .post-update,
body.s017-brand .breadcrumb,
body.s017-brand .breadcrumb a,
body.s017-brand .sidebar,
body.s017-brand .sidebar a { color: var(--s017-muted); }
body.s017-brand .cat-label {
  border: 1px solid rgba(240, 165, 43, .55);
  background: rgba(8, 19, 30, .94);
  color: var(--s017-amber);
}

body.s017-brand article.entry,
body.s017-brand .entry-content { color: var(--s017-text); }
body.s017-brand .entry-content { max-width: 820px; margin-inline: auto; }
body.s017-brand .entry-content p { line-height: 1.85; }
body.s017-brand .entry-content h2,
body.s017-brand h2.related-entry-heading {
  margin: 40px 0 14px;
  padding: 12px 14px;
  border: 0;
  border-left: 3px solid var(--s017-green);
  background: var(--s017-surface);
  color: #fff;
  font-size: clamp(20px, 4.8vw, 26px);
  line-height: 1.45;
}
body.s017-brand .entry-content h3 {
  margin: 28px 0 10px;
  padding: 0 0 9px;
  border: 0;
  border-bottom: 1px solid var(--s017-line);
  background: transparent;
  color: var(--s017-text);
  font-size: clamp(17px, 4.2vw, 21px);
}
body.s017-brand .entry-content a:not(.s017-cta):not(.s017-primary-cta):not(.btn) {
  color: var(--s017-green);
  text-decoration-color: rgba(0, 208, 132, .55);
  text-underline-offset: .18em;
}
body.s017-brand .entry-content .s017-product,
body.s017-brand .entry-content .s017-guide,
body.s017-brand .entry-content .s017-label {
  --ink: var(--s017-text);
  --soft: var(--s017-surface);
  color: var(--s017-text);
}

/* Product articles own the first view: body cover -> purchase CTA. */
body.s017-brand.s017-product-post .entry-title,
body.s017-brand.s017-product-post .eye-catch-wrap,
body.s017-brand.s017-product-post .sns-share.ss-top,
body.s017-brand.s017-product-post .entry-categories-tags,
body.s017-brand.s017-product-post .tag-link,
body.s017-brand.s017-product-post .cat-label {
  display: none !important;
}
body.s017-brand.s017-product-post .article-header {
  margin-bottom: 0;
}
body.s017-brand.s017-product-post .date-tags {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
body.s017-brand.s017-product-post .s017-pr-label {
  color: var(--s017-amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
body.s017-brand.s017-product-post .s017-badge {
  color: #17213a !important;
}
body.s017-brand .entry-content .s017-check,
body.s017-brand .entry-content .s017-choice,
body.s017-brand .entry-content .s017-note,
body.s017-brand .entry-content .lead,
body.s017-brand .entry-content .information-box,
body.s017-brand .entry-content .memo-box,
body.s017-brand .entry-content blockquote {
  border-color: var(--s017-line) !important;
  background: var(--s017-surface) !important;
  color: var(--s017-text) !important;
}
body.s017-brand .entry-content .s017-note,
body.s017-brand .entry-content .source-note { color: var(--s017-muted) !important; }
body.s017-brand .entry-content table,
body.s017-brand .entry-content th,
body.s017-brand .entry-content td { border-color: var(--s017-line); }
body.s017-brand .entry-content th {
  background: var(--s017-surface);
  color: var(--s017-muted);
}
body.s017-brand .entry-content td {
  background: var(--s017-bg-2);
  color: var(--s017-text);
}
body.s017-brand .entry-content .s017-table-wrap,
body.s017-brand .entry-content .table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Deliberately no rules for .s017-cover or .s017-cta. */
body.s017-brand .entry-content .s017-guides,
body.s017-brand .entry-content .s017-guide-grid,
body.s017-brand .entry-content .s017-cluster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
body.s017-brand .entry-content .s017-guides a,
body.s017-brand .entry-content .s017-guide-card,
body.s017-brand .entry-content .s017-cluster-card {
  min-height: 72px;
  padding: 14px;
  border: 1px solid var(--s017-line);
  border-radius: 10px;
  background: var(--s017-surface);
  color: var(--s017-text);
  text-decoration: none;
}
body.s017-brand .entry-content .s017-guides a:hover,
body.s017-brand .entry-content .s017-guide-card:hover,
body.s017-brand .entry-content .s017-cluster-card:hover { border-color: var(--s017-green); }

body.s017-brand .footer,
body.s017-brand .footer-in {
  border-top: 1px solid var(--s017-line);
  background: #050d14;
  color: var(--s017-muted);
}
body.s017-brand .footer a { color: var(--s017-text); }
body.s017-brand :focus-visible { outline: 3px solid var(--s017-amber); outline-offset: 3px; }

/* Local front page */
body.s017-brand.home.page .entry-title,
body.s017-brand.home.page .date-tags,
body.s017-brand.home.page .sns-share,
body.s017-brand.home.page .sns-follow,
body.s017-brand.home.page .toc,
body.s017-brand.home.page .article-footer { display: none; }
body.s017-brand .s017-home { max-width: 1080px; margin: 0 auto; }
body.s017-brand .s017-home__hero {
  position: relative;
  padding: clamp(32px, 7vw, 72px) clamp(18px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid var(--s017-line);
  background: linear-gradient(135deg, #0a1722 0%, #132631 100%);
}
body.s017-brand .s017-home__hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 38%; height: 3px;
  background: var(--s017-green);
}
body.s017-brand .s017-home__eyebrow {
  margin: 0 0 14px;
  color: var(--s017-amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}
body.s017-brand .s017-home__hero h1,
body.s017-brand .s017-home__headline {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 7vw, 58px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -.035em;
}
body.s017-brand .s017-home__lead {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--s017-muted);
  font-size: clamp(15px, 2vw, 18px);
}
body.s017-brand .s017-home__principles {
  display: flex;
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--s017-line);
  background: var(--s017-line);
}
body.s017-brand .s017-home__principles span {
  flex: 1 1 0;
  padding: 13px;
  background: var(--s017-bg);
  color: var(--s017-text);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
body.s017-brand .s017-home__section { margin-top: 48px; }
body.s017-brand .s017-home__section-title {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--s017-line);
  color: #fff;
  font-size: clamp(21px, 4vw, 28px);
}
body.s017-brand .s017-home__section-title small {
  color: var(--s017-muted);
  font-size: 12px;
  font-weight: 500;
}
body.s017-brand .s017-home__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
body.s017-brand .s017-home__card {
  display: block;
  min-height: 148px;
  padding: 18px;
  border: 1px solid var(--s017-line);
  background: var(--s017-surface);
  color: var(--s017-text) !important;
  text-decoration: none !important;
}
body.s017-brand .s017-home__card:hover,
body.s017-brand .s017-home__card:focus-visible { border-color: var(--s017-green); background: var(--s017-surface-2); }
body.s017-brand .s017-home__card strong { display: block; margin-bottom: 9px; color: #fff; font-size: 17px; }
body.s017-brand .s017-home__card-description { display: block; margin: 0; color: var(--s017-muted); font-size: 13px; line-height: 1.7; }
body.s017-brand .s017-home__card b { display: block; margin-bottom: 12px; color: var(--s017-green); font-size: 12px; }
body.s017-brand .s017-home__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  counter-reset: s017-step;
}
body.s017-brand .s017-home__step {
  position: relative;
  padding: 20px 18px 18px 54px;
  border-top: 2px solid var(--s017-green);
  background: var(--s017-surface);
  color: var(--s017-muted);
}
body.s017-brand .s017-home__step::before {
  counter-increment: s017-step;
  content: "0" counter(s017-step);
  position: absolute;
  left: 16px; top: 18px;
  color: var(--s017-amber);
  font-weight: 900;
}
body.s017-brand .s017-home__step strong { display: block; margin-bottom: 6px; color: #fff; }
body.s017-brand .s017-home__notice {
  margin-top: 44px;
  padding: 16px 18px;
  border-left: 3px solid var(--s017-amber);
  background: var(--s017-surface);
  color: var(--s017-muted);
  font-size: 13px;
}

@media screen and (max-width: 834px) {
  body.s017-brand .s017-home__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 480px) {
  body.s017-brand .content-in { padding-inline: 0; }
  body.s017-brand main.main { padding: 18px 16px 82px; border-right: 0; border-left: 0; }
  body.s017-brand .header-container-in,
  body.s017-brand .header-in { height: 60px !important; min-height: 60px !important; }
  body.s017-brand .header-in { padding-inline: 12px; }
  body.s017-brand .logo-header,
  body.s017-brand .logo-header .site-name-text-link { height: 60px !important; }
  body.s017-brand .logo-header .site-name-text { font-size: 21px; }
  body.s017-brand .logo-header .site-name-text::after { font-size: 8px; }
  body.s017-brand .entry-content h2 { margin-top: 36px; }
  body.s017-brand .entry-content .s017-guides,
  body.s017-brand .entry-content .s017-guide-grid,
  body.s017-brand .entry-content .s017-cluster-grid,
  body.s017-brand .s017-home__grid,
  body.s017-brand .s017-home__steps { grid-template-columns: 1fr; }
  body.s017-brand .s017-home__hero { padding-inline: 18px; }
  body.s017-brand .s017-home__principles { flex-direction: column; }
  body.s017-brand .s017-home__card { min-height: 0; }
}
