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

/* ==================================================
   Velvet Archive - Design Foundation
   ラブドールDB用 共通デザイン基盤
================================================== */

:root {
  /* Base colors */
  --va-bg: #faf7f2;
  --va-surface: #ffffff;
  --va-surface-soft: #f3eee8;

  /* Text colors */
  --va-text: #332f2c;
  --va-text-sub: #746d67;
  --va-border: #ded6cf;

  /* Brand accents */
  --va-rose: #b9898f;
  --va-rose-soft: #eadadc;
  --va-gold: #b69b6b;

  /* State colors */
  --va-max: #e1f1e4;
  --va-min: #f4dede;

  /* Typography */
  --va-font-body:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;

  --va-font-serif:
    Georgia,
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  /* Radius */
  --va-radius-sm: 6px;
  --va-radius-md: 12px;
  --va-radius-lg: 18px;

  /* Shadow */
  --va-shadow-sm: 0 2px 8px rgba(51, 47, 44, 0.06);
  --va-shadow-md: 0 8px 24px rgba(51, 47, 44, 0.08);

  /* Layout */
  --va-content-width: 1200px;
  --va-gap-sm: 8px;
  --va-gap-md: 16px;
  --va-gap-lg: 24px;
  --va-gap-xl: 40px;
}

/* ==================================================
   Velvet Archive - DB Scope
   新ラブドールDB専用スタイル
================================================== */

.va-db {
  color: var(--va-text);
  font-family: var(--va-font-body);
  line-height: 1.75;
}

/* DB内の基本幅 */
.va-db .va-container {
  width: min(100% - 32px, var(--va-content-width));
  margin-inline: auto;
}

/* セクション */
.va-db .va-section {
  margin-block: var(--va-gap-xl);
}

/* 見出し */
.va-db .va-section-title {
  margin: 0 0 var(--va-gap-lg);
  color: var(--va-text);
  font-family: var(--va-font-serif);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
}

/* 基本カード */
.va-db .va-card {
  background: var(--va-surface);
  border: 1px solid var(--va-border);
  border-radius: var(--va-radius-md);
  box-shadow: var(--va-shadow-sm);
}

/* 補助テキスト */
.va-db .va-subtext {
  color: var(--va-text-sub);
  font-size: 0.92rem;
}

/* 基本ボタン */
.va-db .va-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--va-rose);
  border-radius: var(--va-radius-sm);
  background: var(--va-rose);
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.va-db .va-button:hover {
  opacity: 0.9;
  color: #fff;
}

/* 控えめなサブボタン */
.va-db .va-button--secondary {
  background: var(--va-surface);
  color: var(--va-text);
  border-color: var(--va-border);
}

.va-db .va-button--secondary:hover {
  background: var(--va-surface-soft);
  color: var(--va-text);
}

/* スマートフォン */
@media screen and (max-width: 768px) {
  .va-db .va-container {
    width: min(100% - 24px, var(--va-content-width));
  }

  .va-db .va-section {
    margin-block: 32px;
  }

  .va-db .va-button {
    min-height: 46px;
  }
}

/* ==================================================
   Velvet Archive - DB Theme Reset
   Cocoon既存装飾からDBコンポーネントを分離
================================================== */

/* セクション見出し */
.va-db .va-section-title {
  margin: 0 0 var(--va-gap-lg);
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--va-text);
  font-family: var(--va-font-serif);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
}

/* カード内見出し */
.va-db .va-card h2,
.va-db .va-card h3,
.va-db .va-card h4 {
  margin-top: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--va-text);
  font-family: var(--va-font-body);
}

/* Cocoon側の疑似要素が入る場合に備えて解除 */
.va-db .va-section-title::before,
.va-db .va-section-title::after,
.va-db .va-card h2::before,
.va-db .va-card h2::after,
.va-db .va-card h3::before,
.va-db .va-card h3::after {
  content: none;
  display: none;
}

/* ==================================================
   Velvet Archive - DB Page Background
================================================== */

/* DBページ本体 */
.va-db {
  background: var(--va-bg);
  padding-block: 32px 56px;
}

/* DB内コンテンツ幅 */
.va-db .va-container {
  width: min(100% - 32px, var(--va-content-width));
  margin-inline: auto;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .va-db {
    padding-block: 24px 40px;
  }

  .va-db .va-container {
    width: min(100% - 24px, var(--va-content-width));
  }
}

/* ==================================================
   Velvet Archive - DB Brand Header
================================================== */

.va-db .va-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 24px;
  margin-bottom: 40px;
  background: var(--va-surface);
  border: 1px solid var(--va-border);
  border-radius: var(--va-radius-md);
  box-shadow: var(--va-shadow-sm);
}

.va-db .va-brand {
  min-width: 220px;
}

.va-db .va-brand-name {
  margin: 0;
  color: var(--va-text);
  font-family: var(--va-font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.va-db .va-brand-subtitle {
  margin-top: 5px;
  color: var(--va-text-sub);
  font-size: 0.78rem;
  line-height: 1.4;
}

.va-db .va-main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 22px;
}

.va-db .va-main-nav a {
  color: var(--va-text);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.va-db .va-main-nav a:hover {
  color: var(--va-rose);
}

@media screen and (max-width: 768px) {
  .va-db .va-brand-header {
    display: block;
    padding: 18px;
    margin-bottom: 28px;
  }

  .va-db .va-brand-name {
    font-size: 1.45rem;
  }

  .va-db .va-main-nav {
    justify-content: flex-start;
    gap: 10px 18px;
    margin-top: 18px;
  }
}

/* ==================================================
   Velvet Archive - DB Wide Layout
   フルワイド背景 + 最大1200pxコンテンツ
================================================== */

.va-db {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  overflow-x: clip;
}

.va-db .va-container {
  width: calc(100% - 48px) !important;
  max-width: 1200px !important;
  margin-inline: auto !important;
  padding-inline: 0;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .va-db .va-container {
    width: calc(100% - 24px) !important;
  }
}

/* ==================================================
   Velvet Archive - DB Test Page Cleanup
   テストページだけ旧Cocoon要素を非表示
================================================== */

/* 旧サイトヘッダー・旧ナビ */
body.page-id-724 #header-container,
body.page-id-724 #navi {
  display: none !important;
}

/* 投稿日・更新日 */
body.page-id-724 .date-tags {
  display: none !important;
}

/* 投稿者など記事下部メタ情報 */
body.page-id-724 .footer-meta {
  display: none !important;
}

/* Cocoon側のパンくず */
body.page-id-724 .breadcrumb {
  display: none !important;
}

/* ==================================================
   Velvet Archive - DB Footer
================================================== */

.va-db .va-site-footer {
  margin-top: 64px;
  padding: 32px 0;
  border-top: 1px solid var(--va-border);
  background: var(--va-surface-soft);
}

.va-db .va-site-footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.va-db .va-footer-brand {
  font-family: var(--va-font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.va-db .va-footer-description {
  margin-top: 6px;
  color: var(--va-text-sub);
  font-size: 0.78rem;
}

.va-db .va-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.va-db .va-footer-nav a {
  color: var(--va-text-sub);
  font-size: 0.82rem;
  text-decoration: none;
}

.va-db .va-footer-nav a:hover {
  color: var(--va-rose);
}

.va-db .va-copyright {
  margin-top: 18px;
  color: var(--va-text-sub);
  font-size: 0.75rem;
  text-align: right;
}

@media screen and (max-width: 768px) {
  .va-db .va-site-footer {
    margin-top: 40px;
    padding: 28px 0;
  }

  .va-db .va-site-footer__inner {
    display: block;
  }

  .va-db .va-footer-nav {
    justify-content: flex-start;
    margin-top: 22px;
  }

  .va-db .va-copyright {
    text-align: left;
  }
}

/* テストページでは旧Cocoonフッターを非表示 */
body.page-id-724 #footer {
  display: none !important;
}
