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

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

/*内部リンクCSS*/
/*カテゴリラベル*/
.category-label {
    display: inline-block;
    margin-right: 2px;
    margin-bottom: 6px;
    padding: 3px 10px; /* 上下左右の余白を少し増やして存在感を出す */
    border-radius: 4px;
    font-size: 0.85rem; /* 0.75から0.85へアップ */
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.03em; /* 文字を少し離すと読みやすくなります */
}

/* 最後のタグだけ右側のマージンを消す（任意） */
.category-label:last-child {
    margin-right: 0;
}

/* ナビゲーション全体のコンテナ */
.schedule-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin: 50px 0;
}

/* 共通のボタン基本スタイル */
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 6px; /* 緩やかな角丸で上品に */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    min-width: 260px;
    justify-content: center;
    letter-spacing: 0.04em;
}

/* 今後の予定：明るいルミナスベージュ（透明感のあるオレンジ系） */
.current-btn {
    background-color: #fff4e6; /* 明るく、透明感のある淡いオレンジベージュ */
    color: #b38b6d !important; /* 文字は少し明るめのブラウンで馴染ませる */
    border: 1px solid #ffe8cc;
}

/* 過去ログ：明るいソフトホワイトグレー */
.archive-btn {
    background-color: #fafafa; /* ほぼ白に近い、明るいグレー */
    color: #90a4ae !important; /* 清潔感のあるブルーグレー */
    border: 1px solid #f0f0f0;
}

/* ホバー時の挙動（優しく光るような演出） */
.current-btn:hover {
    background-color: #ffedda; /* ほんの少しだけ色を乗せる */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 232, 204, 0.5); /* オレンジ系の光の影 */
    text-decoration: none;
}

.archive-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    text-decoration: none;
}

/* スマホ対応 */
@media (max-width: 600px) {
    .nav-btn {
        width: 100%;
        min-width: auto;
    }
}
/* 共通のアイコンサイズ */
.nav-icon {
    font-size: 1.1em;
}

/* ========================================
   ① 最上部の「スケジュール追加」ボタン（控えめ）
   ======================================== */
.add-schedule-top-wrapper {
    display: flex;
    justify-content: flex-end; /* 右寄せ（左寄せがいい場合は flex-start に変更） */
    margin-bottom: 15px; /* 下の絞り込みメニューとの余白 */
    padding: 0 10px;
}

.subtle-submit-btn {
    background-color: #ffffff; /* 白背景で控えめに */
    color: #ff9800 !important; /* 文字をオレンジに */
    border: 1.5px solid #ff9800; /* オレンジの枠線 */
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 10px; /* 角丸 */
    font-size: 0.85rem; /* 少し小さめ */
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.subtle-submit-btn:hover {
    background-color: #fffaf0; /* マウスオーバーでうっすら色をつける */
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(255, 152, 0, 0.2);
}

/* ========================================
   ② 絞り込みメニュー直後の「過去ログ」リンク
   ======================================== */
.past-schedule-mid-wrapper {
    display: flex;
    justify-content: flex-end; /* 右寄せでスッキリ見せる */
    margin-top: 10px; /* 上の絞り込みメニューとの余白 */
    margin-bottom: 20px; /* 下の告知文との余白 */
    padding: 0 10px;
    border-bottom: 1px dotted #ccc; /* 下に薄い点線を引いて区切る */
    padding-bottom: 10px;
}

.past-schedule-text-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.past-schedule-text-link:hover {
    color: #ff9800;
    text-decoration: underline;
}
/*ユーザースケジュール追加フォーム*/
/* フォーム全体の枠組み */
.schedule-submit-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fffaf0; /* 柔らかいクリーム色 */
    border-radius: 15px;
    border: 2px solid #ffedcc;
    font-family: sans-serif;
}

/* ラベルの文字を少し太く */
.schedule-submit-form label {
    font-weight: bold;
    color: #555;
    display: block;
    margin-bottom: 8px;
}

/* タグ選択（チェックボックスのカスタマイズ） */
/* タグコンテナ：全体の隙間を詰める */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px; /* 10pxから6pxに。タグ同士の距離を縮める */
    margin-top: 5px; /* 上のラベルとの距離を縮める */
    margin-bottom: 10px; /* 下の項目との距離を調整 */
}

/* 個別のタグ：よりコンパクトなボタンに */
.selectable-tag input[type="checkbox"] {
    display: none; /* 本物のチェックボックスは隠す */
}
.selectable-tag span {
    display: inline-block;
    padding: 1px 7px; /* 8px 15pxから大幅に縮小 */
    border: 1.5px solid #ddd; /* 線を少し細く */
    border-radius: 7px; /* サイズに合わせて角丸も調整 */
    background: #fff;
    font-size: 0.85rem; /* 文字を少し小さくして密度を上げる */
    transition: all 0.2s;
    font-weight: normal;
}
/* 選択された時のスタイル */
.selectable-tag input[type="checkbox"]:checked + span {
    background: #ff9800; /* オレンジ系で親しみやすさを */
    color: #fff;
    border-color: #ff9800;
}
/* フォーム全体の余白も少し詰める */
.schedule-submit-form p {
    margin-bottom: 12px; /* 各項目の上下の間隔を少し詰める */
}

/* ラベル（タイトル部分）のサイズも微調整 */
.schedule-submit-form label {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

/* 日付と時間の横並び設定 */
.datetime-row {
    display: flex;
gap: 10px;
    flex-wrap: wrap;
}

.datetime-row p {
    flex: 1;
    min-width: 150px;
margin-bottom: 12px;
}

/* 入力フィールド全般のスタイル */
.schedule-submit-form input[type="text"],
.schedule-submit-form input[type="date"],
.schedule-submit-form input[type="time"],
.schedule-submit-form input[type="url"],
.schedule-submit-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box; /* 幅突き抜け防止 */
}

/* 送信ボタン */
#submit-btn {
    width: 100%;
    padding: 15px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px #388e3c;
    margin-top: 20px;
    transition: 0.2s;
}

#submit-btn:active {
    box-shadow: none;
    transform: translateY(4px);
}

#submit-btn:disabled {
    background: #ccc;
    box-shadow: none;
    cursor: not-allowed;
}
/*スマホのli表示*/
@media screen and (max-width: 834px) {
  .article ul,
  .article ol {
    padding-left: 0;
    list-style: none;
  }

  .article li {
    margin-bottom: 0.4em;
  }
}
/* 時間：少しだけ大きくして視認性アップ */
.event-time {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}


/* 最後のタグだけ右側のマージンを消す（任意） */
.category-label:last-child {
    margin-right: 0;
}
/*必要ならばここにコードを書く*/
.content {
    margin-top: 5px;
}

/*メンバー名を赤*/
.card-members {
    font-size: 0.85rem;
    color: #999; /* 「メンバー:」の文字はかなり薄いグレーに */
}
.member-names {
color: #cc0000; /* 赤色を少し深みのあるシックな色へ */
    font-weight: 600; /* 名前の方を太くして目立たせる */
}
/* メモ：ここがポイント！ */
.card-memo {
font-size: 0.85rem;    /* 読みやすいサイズに */
    color: #666;           /* メモの内容はしっかり読める濃さのグレーに */
    padding: 10px 12px;
    border-radius: 6px;
    line-height: 1.6;
    position: relative;
}
/*ビリビリ用*/
.bili-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 比率 */
  height: 0;
}

.bili-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*写真まとめ一覧デザイン*/
/* 検索フォームの余計な枠線を除去（Cocoonデフォルト上書き） */
/* 公式情報やお知らせのボックス全体 */
.important-info-box {
    background-color: #f9f9f9; /* 優しいグレー */
border-left: 4px solid #58d68d;
    padding: 5px 3px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.important-info-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 4px;
    margin-bottom: 10px;
}

/* リスト部分 */
.important-info-box ul {
    list-style: none; /* デフォルトの点を消す */
    margin: 0;
    padding: 0;
}

.important-info-box li {
    margin-bottom: 6px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.important-info-box li a {
    color: #D4766E; /* リンク色をオレンジに */
    text-decoration: none;
}

.important-info-box li a:hover {
    text-decoration: underline;
}

.search-form > div,
.search-form .schedule-filter-container,
.search-form .filter-group {
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

/* フィルターラベル周りの微調整（必要に応じて） */
.search-form .filter-group {
    margin-bottom: 10px !important; /* グループ間の間隔を保つ */
}

/*ヘッダー文字*/
.tagline {
    margin: 0px !important;
}
.logo-text {
    padding-top:0px !important;
	padding-bottom:0px !important;
}
/*番組名の太文字*/
.card-program {
    font-size: 1.1rem;
    margin: 6px 0;
    color: #333;
    line-height: 1.4;
}

/* スマホ用にさらに行間を狭める場合 */
@media (max-width: 640px) {
  .card-content {
    line-height: 1.3 !important; /* 行間を強制狭く */
    margin: 0 !important; /* 親からの余白リセット */
  }

  .card-content .card-time,
  .card-content .card-program,
  .card-content .card-members,
  .card-content .card-memo {
    margin-bottom: 0.1em !important; /* 各divの間隔を最小に */
    margin-top: 0 !important;
    padding: 0 !important; /* div内の余白もカット */
    line-height: 1.25 !important; /* 子要素も念のため */
  }

  /* テキスト要素の追加リセット（spanやstrong内） */
  .card-content p,
  .card-content span,
  .card-content strong {
    margin: 0 !important;
    padding: 0 !important;
    line-height: inherit !important; /* 親のline-heightを継承 */
  }
}}
/*スケジュール内のカテゴリ表記色*/
.event-type-label {
color: #ffb380;
    font-weight: bold;
padding-right:8px;
	border-radius: 4px;
}

/*youtube 埋め込み中央配置*/
.video-container {
margin: 0px auto;
}

/*見出し*/
.article h2 {
    margin-top: 5px; /* お好みの値に調整 */
margin-bottom: 8px;}
.page-id-5006 .article p {
    margin-bottom: 5px;
}

/* Cocoon YouTube埋め込み幅調整 */
/* バナー共通スタイル */
  .banner-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
  }

.banner-item {
  display: flex;
  align-items: center;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s;
  text-decoration: none; /* aタグの下線を消す */
  color: inherit;        /* テキスト色を継承 */
  display: flex;
text-align: center;
}

  .banner-item:hover {
  transform: translateY(2px) scale(0.98);
  box-shadow: 0 1px 4px rgba(0,0,0,0.);
  }
  .banner-item img {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .banner-text {
    padding: 20px;
    font-size: 1.2em;
    flex: 1;
  }

  .banner-text a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
  }

  .banner-text a:hover {
    text-decoration: underline;
  }


  @media (max-width: 600px) {
    .banner-item {
      flex-direction: column;
      text-align: center;
    }

    .banner-item img {
      width: 100%;
    }

    .banner-text {
      padding: 15px;
    }
  }
/* メンバー用チェックボックス */
input.filter-member[type="checkbox"] {
    accent-color: #ff9ca3; /* 赤系に変更 */
}

/* カテゴリ用チェックボックス */
input.filter-category[type="checkbox"] {
    accent-color: #ffb380; /* 青系以外の色に変更 */
}

/* カテゴリ用チェックボックス */
input.filter-toukousha[type="checkbox"] {
    accent-color: #a3d2ff; /* 青系以外の色に変更 */
}
/* フィルターラベル・チェックボックス */
.schedule-filter-container > span {  /* > で直下の子要素だけ対象 */
    display: inline-block;
	    font-size: 0.9rem;
    font-weight: 600; /* 読みやすさを保つ太さ */
    font-family: inherit; /* サイトのデフォルトフォントで統一感 */
	margin-top: 5px;
    margin-bottom: 5px;
    background-color: #f0f0f0; /* 控えめなグレー背景 */
    color: #222222;             /* 高いコントラストで即読可能 */
    padding: 0em 0.35em;      /* コンパクトに収めてスペース効率よく */
    border-radius: 4px;         /* 最小限の丸角でクリーン */

    text-shadow: none;
    box-shadow: none; /* 影なしでフラット、速い読み込みとシンプルさ */
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-label {
    display: inline-flex;
    align-items: center;
    margin-right: 5px;
    margin-bottom: 1px;
		    font-size: 0.9rem;
}

.filter-label input[type="checkbox"] {
    margin-right: 8px;
}


/*スケジュールタイプの日付h3*/
h3.schedule-date {
all: unset; /* ←まず既存のh3スタイルをリセット */
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
  font-weight: 700; /* 600 → 700 に変更 */
  font-size: 1.3em;
  color: #222;
  border-radius: 30px;
  padding: 6px 12px;
  display: inline-block;
}
/* カード */

hr {
    display: none;
}
.schedule-card {    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
	margin-bottom: 5px;

    /* 浮いた印象と柔らかさ */
    background: #fff; /* 白で清潔感 */
    border: 1px solid #e0e0e0; /* 柔らかい境界線 */
    box-shadow: 0 3px 6px rgba(0,0,0,0.1); /* 軽めの影で浮き感 */
    cursor: pointer; /* 押しやすさ強調 */
}




.schedule-card:hover {
  transform: translateY(2px) scale(0.98);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  text-decoration: none; /* aタグの下線を消す */
  color: inherit;        /* テキスト色を継承 */
}
.schedule-cards .card-thumb {
    width: 120px;  /* 左固定幅 */
    height: 120px; /* 高さ固定 */
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
}

.schedule-cards .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* トリミングで余白消す */
    display: block;    /* 下余白消す */
}

.schedule-cards .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.schedule-cards .card-link {
    display: inline-block;
    margin-top: auto; /* テキストの下に寄せる */
    text-align: right;
}
/* スマホ対応 */
@media (max-width: 768px) {
    .schedule-card {
        flex-direction: row; /* 縦型から横型に変更 */
    }
    .card-thumb {
        width: 100px;   /* PCより小さめに調整 */
        height: 100px;
    }
}
/*update検索のカード仕様*/
/* 更新リスト専用のカード調整（スケジュールCSSを継承しつつ縦リスト化） */
.update-list .schedule-card {  /* ページに.update-listクラスを追加して特定 */
    display: block !important;  /* 縦リストに変更（flexを上書き） */
    align-items: flex-start;    /* 縦並びで上揃え */
    gap: 8px;                   /* 内部間隔を小さく */
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;

    /* 背景を強化（透明化防止） */
    background: #fff !important; /* 白を強制 */
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* 影を少し強くして存在感UP */
    cursor: pointer;
    position: relative;  /* ::beforeの親としてrelative指定 */
    margin-bottom: 10px; /* カード間の隙間 */
}

.update-list .schedule-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 12px;
    pointer-events: none;
    background: linear-gradient(145deg, rgba(255,255,255,0.3), rgba(255,255,255,0)); /* 光を少し強く */
    z-index: -1;  /* 背景下に配置して透け防止 */
}

.update-list .schedule-card:hover {
    transform: translateY(-1px);  /* 縮小をやめて上浮きのみ（リスト向き） */
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    text-decoration: none;
    color: inherit;
}

/* 親コンテナ調整 */
.update-list .schedule-cards {
    display: block;  /* flexグリッドからblockリストに */
}

/* サムネイル（リスト風に小さく） */
.update-list .schedule-cards .card-thumb {
    width: 80px;     /* 小さくしてリストにフィット */
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
    float: left;     /* 左浮かせてタイトル横並び */
    margin-right: 12px;
}

.update-list .schedule-cards .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.update-list .schedule-cards .card-content {
    display: block;  /* flexを外して縦並び */
    overflow: hidden; /* 浮いた画像の余白調整 */
}

.update-list .schedule-cards .card-content::after {
    content: "";
    display: table;
    clear: both;  /* 浮き要素クリア */
}

/* スマホ対応（縦リスト維持） */
@media (max-width: 768px) {
    .update-list .schedule-card {
        display: block !important;
    }
    .update-list .card-thumb {
        width: 60px;
        height: 60px;
        float: none; /* スマホでは画像上配置 */
        margin: 0 0 8px 0;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}
.entry-content iframe[src*="youtube.com"] {
  width: 100%;       /* 記事幅の80% */
  max-width: 100%;  /* 画面が狭くなったときは100%以内に */
  height: auto;     /* 高さ自動調整 */
  aspect-ratio: 16 / 9; /* 16:9比率を維持 */
  display: block;   /* ブロック要素にして中央寄せ可能 */
  margin: 0 auto;   /* 中央寄せ */
}
/*見出しの設定*/
ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 6px;
}

a {
  color: #007acc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
/*ヘッダーのフォント*/
header { font-family: 'M PLUS Rounded 1c', sans-serif; }


/* 基本のフォントサイズ調整 */
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* アイコンリンク部分（Flex対応） */
.icon-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.icon-box {
  text-align: center;
  width: 120px;
}

.icon-box img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.2s;
}

.icon-box img:hover {
  transform: scale(1.05);
}

/* 写真履歴横スクロール */
.photo-scroll {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 10px;
}

.photo-scroll a {
  display: inline-block;
  margin-right: 10px;
}

.photo-scroll img {
  height: 120px;
  border-radius: 8px;
}

/* スマホ対応（メディアクエリ） */
@media screen and (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .icon-box {
    width: 100px;
  }

  .photo-scroll img {
    height: 100px;
  }
}

/* 埋め込み全体のコンテナを調整 */
.wp-block-embed__wrapper {
    display: flex;
    justify-content: center; /* 中央寄せで左右に余白を作る */
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
.logo-text {
    padding-top:21px !important;
	padding-bottom:0px !important;
}
	
.banner-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 800px;
    margin: 0 auto;
}
.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
}
.filter-label input[type="checkbox"] {
    margin-right: 3px;
}
	
.filter-label {
    margin-right: 8px;
}
/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
.zbgazou{
	width:48%;
	list-style: none;
display: inline-block;
}
}

/*480px以下*/
@media screen and (max-width: 480px){

}

