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


/* ===== 固定ページID:59 /listing-info/ 専用 非表示設定 ===== */
.page-id-59 h1.entry-title,
.page-id-59 .post-date,
.page-id-59 time.published,
.page-id-59 time.updated,
.page-id-59 .updated,
.page-id-59 .entry-date,
.page-id-59 .date,
.page-id-59 .sns-share,
.page-id-59 .sns-buttons-wrap,
.page-id-59 .sns-header,
.page-id-59 .sns-footer,
.page-id-59 .author-box,
.page-id-59 .author-widget,
.page-id-59 .post-author,
.page-id-59 .author-info,
.page-id-59 .related-entries,
.page-id-59 .related-posts,
.page-id-59 #comments,
.page-id-59 .comments-area,
.page-id-59 .comment-respond,
.page-id-59 .pv-info {
  display: none !important;
}

/* ===== 固定ページID:54 トップページ専用 非表示設定 ===== */
.page-id-54 h1.entry-title,
.page-id-54 .post-date,
.page-id-54 time.published,
.page-id-54 time.updated,
.page-id-54 .updated,
.page-id-54 .entry-date,
.page-id-54 .date,
.page-id-54 .sns-share,
.page-id-54 .sns-buttons-wrap,
.page-id-54 .sns-header,
.page-id-54 .sns-footer,
.page-id-54 .author-box,
.page-id-54 .author-widget,
.page-id-54 .post-author,
.page-id-54 .author-info,
.page-id-54 .related-entries,
.page-id-54 .related-posts,
.page-id-54 #comments,
.page-id-54 .comments-area,
.page-id-54 .comment-respond,
.page-id-54 .pv-info {
  display: none !important;
}

/* listing-info page-id-59 */
.page-id-59 .entry-title,
.page-id-59 .post-date,
.page-id-59 .entry-date,
.page-id-59 .sns-share,
.page-id-59 .author-info,
.page-id-59 .admin-pv,
.page-id-59 .pv-info,
.page-id-59 .related-entry-section,
.page-id-59 .related-entries,
.page-id-59 #comments,
.page-id-59 .comments-area,
.page-id-59 .comment-respond {
  display: none !important;
}

/* /area/naha/ page-id-225 */
.page-id-225 .entry-title,
.page-id-225 .post-date,
.page-id-225 .entry-date,
.page-id-225 .sns-share,
.page-id-225 .author-info,
.page-id-225 .admin-pv,
.page-id-225 .pv-info {
  display: none !important;
}

/* === BAR カテゴリー：WordPress標準説明文を非表示（bar-category-introのみ表示） === */
.category-bar .category-page-content {
  display: none;
}

/* === エリアガイドボックス スタイル（JS注入・loop_start共通） === */
.area-guide-box {
  background: #fff;
  border-left: 4px solid #c9a84c;
  padding: 24px 20px;
  margin: 0 0 32px;
  border-radius: 0 4px 4px 0;
}
.area-guide-box h2 {
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 0 12px;
}
.area-guide-box p {
  font-size: 0.95em;
  line-height: 1.7;
  margin: 0 0 12px;
  color: #333;
}
.area-guide-links {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px;
  margin: 16px 0;
}
.area-guide-links a {
  display: block;
  background: #1a1a1a;
  color: #fff !important;
  text-align: center;
  padding: 10px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  text-decoration: none !important;
}
.area-guide-links a:hover {
  background: #333;
}
.area-guide-lead {
  font-size: 0.9em;
  color: #666;
  margin: 8px 0 0;
}

/* === 記事0件エリア：NOT FOUND の目立たせすぎ防止 === */
.category-matsuyama .posts-not-found,
.category-sakurazaka .posts-not-found,
.category-chatan .posts-not-found {
  display: none;
}

/* ═══════════════════════════════════════════
   /listing-info/ ファーストビューCTA
   ═══════════════════════════════════════════ */
.ng-firstview-cta {
    background: #fff9f0;
    border: 2px solid #e8a020;
    border-radius: 8px;
    text-align: center;
    padding: 32px 24px;
    margin: 32px auto;
    max-width: 720px;
}
.ng-firstview-cta__heading {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 14px;
}
.ng-firstview-cta__text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
    margin: 0 0 22px;
}
.ng-firstview-cta__btn {
    display: inline-block;
    padding: 15px 40px;
    background: #e8a020;
    color: #fff !important;
    font-size: 1.05rem;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none !important;
    min-width: 220px;
    transition: background 0.2s;
}
.ng-firstview-cta__btn:hover {
    background: #c98010;
    color: #fff !important;
}
@media (max-width: 480px) {
    .ng-firstview-cta {
        padding: 24px 16px;
        margin: 24px 0;
    }
    .ng-firstview-cta__btn {
        display: block;
        padding: 16px 20px;
        min-width: auto;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ═══════════════════════════════════════════
   /contact/ 送信ボタン強化（page-id-48限定）
   ═══════════════════════════════════════════ */
.page-id-48 .wpcf7-submit {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: #e8a020;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    box-sizing: border-box;
}
.page-id-48 .wpcf7-submit:hover {
    background: #c98010;
}