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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/


/************************************
** 1. 基本設定（サイト全体の骨格）
************************************/
/* サイト全体を左寄せにする */
.wrap {
    margin-left: 0 !important;
    margin-right: auto !important;
}


/************************************
** 2. レイアウト（構造）
************************************/
/* 検索結果ページ全体の非表示設定 */
.search-results .archive-title,
.search-results .pagination {
    display: none !important;
}

/* 検索結果ページリスト外枠の設定 */
.search-results #main .list {
    max-width: 900px;
    margin: 0 auto;
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #eee;
    padding: 0 !important;
    background: #fff;
    scrollbar-width: thin;
    display: block !important;
    gap: 0 !important;
    position: relative;
}

/* 検索結果ページ記事リンクの余白・枠線を抹殺 */
.search-results .entry-card-wrap {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

/* 検索結果ページ記事本体の最小高さを消して間隔を詰める */
.search-results article.entry-card {
    min-height: 0 !important;
    padding: 2px 0 !important;
    margin: 0 !important;
}

/* 検索結果ページタイトルと日付のレイアウト調整 */
.search-results .entry-card-content {
    margin-left: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.search-results .entry-card-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
}

.search-results .entry-date {
    min-width: 90px;
    font-size: 14px;
    margin: 0 !important;
}

/************************************
** 3. グローバル要素（文章・フォーム）
************************************/
/* コメントの「メール」「サイト」入力欄を非表示 */
.comment-form-email,
.comment-form-url,
.comment-notes {
  display: none;
}

/* reCAPTCHA バッジを非表示 */
.grecaptcha-badge {
  visibility: hidden;
}

/* 固定ページのタイトルを非表示 */
.page .entry-title {
  display: none;
}

/* 固定ページの日付を非表示 */
.page .date-tags {
  display: none;
}

/* カテゴリーラベルを非表示 */
.cat-label {
  display: none;
}

/* 汎用スクロールブロック */
.scroll {
  overflow: auto;
  height: 200px;
  width: 100%;
}

/************************************
** 4. コンポーネント（検索窓・プルダウン）
************************************/
/* 検索結果ページのドロップダウンと検索窓 */
.kmm-search-wrapper {
    display: flex;
    align-items: center;  /* 上下を揃える */
    gap: 5px;             /* ドロップダウンと検索窓の間隔 */
    width: 100%;          /* 必要に応じて調整 */
    max-width: 900px;     /* 検索窓の横幅を制御したい場合 */
    margin: 0 auto;       /* 中央寄せ（任意） */
}

/* 左側のドロップダウン */
.kmm-dropdown {
    position: relative;
    z-index: 1000;
    width: 3em; /* 数字だけの幅 */
    cursor: pointer;
    font-family: inherit;
}

/* 右側の検索窓（Cocoon） */
.search-box {
    margin: 10px 0 10px;
}

.kmm-search-core {
    flex: 1;
}

/* 閉じた状態の表示 */
.kmm-dropdown-selected {
    height: 51px;
    padding: 9px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

/* プルダウンのアイコン */
.kmm-dropdown-arrow {
    font-size: 0.7em;
}

/* リスト（プルダウン風） */
.kmm-dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    border: 1px solid #ccc;
    background: #fff;
    z-index: 999;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* リスト項目 */
.kmm-dropdown-list li {
    padding: 1px 6px;
    text-align: left;
    white-space: nowrap;
}

.kmm-dropdown-list li:hover {
    background: #eee;
}

/* 旅企画ビュー専用のプルダウン高さ */
.kmm-plan-dropdown .kmm-dropdown-selected {
    height: 35px;
    line-height: 35px;
    padding: 0 6px;
}
.kmm-plan-dropdown {
    transform: none;
}

/************************************
** 5. ヘッダー（ロゴ・メニュー）
************************************/
/* タイトル背景の高さ */
.logo.logo-header.logo-text {
    padding: 0;
}

/* メニューバー背景の高さ */
.navi-in > ul li {
    height: 40px;
    line-height: 40px;
}

/* ヘッダーロゴの白縁フォント */
.logo-header a span {
    font-family: 'Avenir', 'Helvetica Neue';
    font-weight: bold;
    font-size: 36px;
    text-shadow:
        2px 2px 0 #FFF, -2px -2px 0 #FFF,
        -2px 2px 0 #FFF, 2px -2px 0 #FFF,
        0px 2px 0 #FFF, 0 -2px 0 #FFF,
        -2px 0 0 #FFF, 1px 0 0 #FFF;
}

/************************************
** 6. チャットボット モーダルダイアログ
************************************/
/* core.js内のkmmAlert関数 */

#kmm-alert-overlay {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.35);
    z-index: 100000;
}

#kmm-alert-dialog {
    width: 360px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    animation: kmmAlertFadeIn .18s ease;
}

#kmm-alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

#kmm-alert-title {
    font-size: 16px;
    font-weight: 600;
}

#kmm-alert-close {
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

#kmm-alert-close:hover {
    color: #000;
}

#kmm-alert-body {
    padding: 24px 20px;
    font-size: 15px;
    line-height: 1.8;
    white-space: pre-wrap;
    text-align: center;
}

#kmm-alert-footer {
    padding: 16px;
    border-top: 1px solid #ddd;
    text-align: center;
}

#kmm-alert-ok {
    min-width: 100px;
    padding: 8px 24px;
    border: 1px solid #999;
    border-radius: 6px;
    background: #f8f8f8;
    cursor: pointer;
    font-size: 14px;
}

#kmm-alert-ok:hover {
    background: #e9e9e9;
}
/*透明・小さいから完全表示へのアニメーション*/
@keyframes kmmAlertFadeIn {
    from {
        opacity: 0;
        transform: scale(.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

