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

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* 投稿日・更新日を非表示 */
.post-date,
.post-update,
.date-tags,
.entry-meta,
.eye-catch .entry-date {
  display: none !important;
}

/* === 準備中ページ専用デザイン === */
.vb-underconstruction {
  max-width: 700px;
  margin: 80px auto;
  padding: 40px 30px;
  text-align: center;
  background: linear-gradient(180deg, #fdfdfd 0%, #eef0f4 100%);
  border: 1px solid #ccc;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

.vb-underconstruction .vb-construction-icon {
  font-size: 2.8em;
  margin-bottom: 10px;
}

.vb-underconstruction h2 {
  font-size: 1.4em;
  font-weight: bold;
  color: #222;
  margin-bottom: 12px;
}

.vb-underconstruction p {
  font-size: 1em;
  color: #444;
  line-height: 1.6;
}

@media screen and (max-width: 600px) {
  .vb-underconstruction {
    margin: 60px 15px;
    padding: 30px 20px;
  }
  .vb-underconstruction h2 {
    font-size: 1.2em;
  }
}

/* === 工事中タグのミニ表示 === */
.under-construction-tag {
  display: inline-block;
  font-size: 0.75em;
  color: #fff;
  background: linear-gradient(to bottom, #6fa8dc, #3d85c6);
  padding: 2px 6px;
  margin-left: 5px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  font-weight: 600;
}

/* === トップページここから === */
/* ===== Reset (Portal Scoped) ===== */
.vb-hero, .vb-section, .vb-footer {
  box-sizing: border-box;
}

/* ===== Hero ===== */
.vb-hero {
  background: linear-gradient(135deg, #1a1d21, #2b3036);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.vb-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.vb-subtitle {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

/* ===== Section ===== */
.vb-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
}

.vb-section-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

/* ===== Card Grid ===== */
.vb-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 400px);
  justify-content: center;
  gap: 50px 40px;
}

/* ===== Card ===== */
.vb-card {
  position: relative;
  width: 400px;
  background: #2c2c2c;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vb-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

/* ===== Card Image ===== */
.vb-card-bg {
  display: block;
  width: 100%;
  height: 225px; /* 16:9 */
  background-size: cover;
  background-position: center;
  position: relative;
}

.vb-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  transition: background 0.25s ease;
}

.vb-card:hover .vb-card-bg::after {
  background: rgba(0,0,0,0.12);
}

/* ===== Card Caption ===== */
.vb-card-caption {
  padding: 16px;
  background: rgba(0,0,0,0.65);
}

.vb-card-caption h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.vb-card-caption p {
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

/* ===== R18 Badge ===== */
.vb-card.is-r18::before {
  content: "R18";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(120, 20, 20, 0.9);
  border-radius: 4px;
  z-index: 3;
}

/* R18 note text */
.vb-note {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.75;
}

/* ===== Background Images ===== */
.vb-card-r {
  background-image: url("http://venusblood-guide.com/vb-portal/wp-content/uploads/2025/12/VBRtitle.png");
}

.vb-card-i {
  background-image: url("http://venusblood-guide.com/vb-portal/wp-content/uploads/2025/12/VBRtitle.png");
}

.vb-card-v {
  background-image: url("http://venusblood-guide.com/vb-portal/wp-content/uploads/2025/12/VBVtitle.png");
}

.vb-card-s {
  background: linear-gradient(135deg, #334d4d, #2f4f4f);
}

/* ===== Footer ===== */
.vb-footer {
  background: #1a1d21;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  opacity: 0.85;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .vb-card-grid {
    grid-template-columns: 1fr;
  }
  .vb-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}
/* ===== トップページ お知らせ（ログ形式） ===== */
.vb-news-section .vb-news-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vb-news-section .vb-news-box li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  line-height: 1.6;
}

/* 日付 → 先頭 */
.vb-news-section .vb-news-box .date {
  order: 1;
  color: #666;
  min-width: 90px;
  font-family: monospace;
  white-space: nowrap;
}

/* タイトル → 後ろ */
.vb-news-section .vb-news-box .title {
  order: 2;
  color: #000;
  font-weight: normal;
}

/* リンク完全無効化（念のため） */
.vb-news-section .vb-news-box a {
  pointer-events: none;
  text-decoration: none;
  color: inherit;
}
/* === トップページここまで === */

/* ===== お知らせ一覧（ログ表示） ===== */
.vb-news-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vb-news-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  line-height: 1.6;
}

/* 日付 */
.vb-news-list .date {
  color: #666;
  min-width: 90px;
  font-family: monospace;
  white-space: nowrap;
}

/* タイトル（リンク化させない） */
.vb-news-list .title {
  color: #000;
  font-weight: normal;
}

/* 万一 a が混入しても完全に無効化 */
.vb-news-list a {
  pointer-events: none;
  text-decoration: none;
  color: inherit;
}
/* ===== お知らせ表示順を「日付 → タイトル」に変更 ===== */
.vb-news-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

/* 日付を先頭に */
.vb-news-list .date {
  order: 1;
  color: #666;
  min-width: 90px;
  font-family: monospace;
  white-space: nowrap;
}

/* タイトルを後ろに */
.vb-news-list .title {
  order: 2;
  color: #000;
  font-weight: normal;
}
/* ===== お知らせ一覧（ここまで） ===== */

/* ===== サイト名タグ ===== */
.vb-site-tag {
  margin-right: 6px;
  color: #666;
  font-weight: bold;
  font-family: monospace;
}
