@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;
}

/* ===== トップページ お知らせ（ログ形式） ===== */
.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;
}
/* ===== お知らせ一覧（ここまで） ===== */