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

#header, #footer {

  display:none;

}

#breadcrumb {

  display: none

}

/*更新日を非表示にする*/

.post-update{

  display: none;

}

 

/*投稿日を非表示にする*/

.post-date {

  display: none;

}

 

/*記事タイトルを非表示*/

.page .entry-title{

  display: none;

}

.entry-button {
  display: inline-block;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: normal;
  color: #fff;
  background-color: #a8d5ba; /* 薄緑 */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.entry-button:hover {
  font-weight: bold; /* ホバー時に太字に */
  background-color: #91c9a5; /* 少し濃い緑に */
  transform: scale(1.03); /* ほんの少し拡大 */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.wpcf7-submit {
  display: block;
  margin: 20px auto;
}

#custom-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#custom-lightbox-overlay img {
  max-width: 95vw;
  max-height: 95vh;
  border: 4px solid #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  animation: fadeIn 0.3s ease;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* アイキャッチ画像のコンテナ調整 */
.lp-eyecatch-full {
  margin: 0 auto;
  padding: 0;
  line-height: 0;
  text-align: center;
  overflow: hidden;
}

/* 画像自体の調整 */
.lp-eyecatch-full img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* 投稿本文の上部余白を打ち消す（必要な場合） */
.entry-content,
.single .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* 固定ページのみアイキャッチ非表示（投稿ページでは表示される） */
.page .post-thumbnail,
.page .wp-post-image,
.page .entry-thumbnail,
.page .entry-header img,
.page .page-header img {
  display: none !important;
}


/* 横スクロールを防ぐ（必要に応じて） */
body {
  overflow-x: hidden;
}

/* ふわっと消えるトップバナー */
.top-banner {
  background-color: #d35400; /* 濃いオレンジ */
  color: #fff;               /* 白文字 */
  text-align: center;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: bold;
  position: relative;
  width: 100%;
  opacity: 1;
  transition: opacity 0.6s ease; /* ふわっと消える */
}

.top-banner.hidden {
  opacity: 0;
}

