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

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

/* ============================================================
  【BMP】子テーマ style.css 完全版
  設置場所：外観 → テーマファイルエディター → Cocoon Child → style.css

  ■ 貼り付け方（重要）
    style.cssの一番上にある
      「Theme Name: Cocoon Child」などのコメントブロック
    は絶対に消さずに残すこと（消すとテーマが壊れます）。
    そのコメントブロックの「下」を、このファイルの内容に丸ごと差し替え。

  ■ 前バージョンからの変更点
    ・ヘッダー矯正（紺化・キャッチフレーズ非表示・旧背景画像の無効化）を統合
    ・CTAボタン／プロフィール／プラポリの水色系(#00bcd4,#3498db)を
      新ブランド（紺×金）に統一
    ・grayish専用の残骸コード(.skin-grayish)を削除
    ・画像ウィジェットのREAD MORE文字色を赤→白に（旧デザインの名残）
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@700;800&display=swap');

/* ===== BMPブランドカラー ===== */
:root {
    --bmp-navy: #1e3a8a;
    --bmp-navy-deep: #10204d;
    --bmp-gold: #e8b84b;
    --bmp-gold-deep: #b8892e;
    --bmp-ink: #1a1e26;
}

/************************************
** ヘッダー矯正（全ページ共通）
************************************/

/* キャッチフレーズ（旧コンセプト文言）を非表示 */
.tagline { display: none !important; }

/* ヘッダー背景：旧グラデ画像を無効化して深紺に */
#header-container,
#header {
    background-color: var(--bmp-navy-deep) !important;
    background-image: none !important;
}

/* サイト名：明朝・白・字間広め */
.site-name-text,
.site-name-text-link {
    color: #ffffff !important;
    font-family: 'Shippori Mincho', serif !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em;
}

/* グローバルナビ：紺地×白文字、ホバーで金 */
#navi {
    background-color: var(--bmp-navy-deep) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
#navi .navi-in > ul > li > a {
    color: #ffffff !important;
    font-weight: 700;
    transition: color 0.2s ease;
}
#navi .navi-in > ul > li > a:hover {
    color: var(--bmp-gold) !important;
    background: transparent !important;
}
#navi .navi-in > ul .sub-menu a {
    background-color: var(--bmp-navy-deep) !important;
    color: #ffffff !important;
}
#navi .navi-in > ul .sub-menu a:hover { color: var(--bmp-gold) !important; }

/* モバイルヘッダーも紺に */
.mobile-header-menu-buttons { background-color: var(--bmp-navy-deep) !important; }
.mobile-menu-buttons .menu-button > a,
.mobile-menu-buttons .menu-drawer-button .navi-menu-icon {
    color: #ffffff !important;
}

/* 固定ページの投稿日、更新日、投稿者名を非表示にする */
.page .date-tags,
.page .post-date,
.page .post-update,
.page .author-info {
    display: none;
}

/************************************
** 全幅ユーティリティ
** （旧grayishページ由来。旧ページを完全に退役させたら削除可）
************************************/
.cstm-blk-fullwide-inner {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 0 calc(50vw - 50%);
}
.cstm-blk-fullwide {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
}
.cstm-blk-fullwide.cstm-blk-img-height img { height: 50vmin; }

/************************************
** プロフィールページ共通スタイル
************************************/
.about-profile h2,
.about-profile h3 {
    border-left: 5px solid var(--bmp-navy);
    padding-left: 12px;
    margin-top: 2em;
    margin-bottom: 0.5em;
    font-weight: bold;
    color: var(--bmp-ink);
}

.about-profile p {
    line-height: 1.8;
    margin-bottom: 1.5em;
    color: #444;
}

.about-profile ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.about-profile ul li { margin-bottom: 0.5em; }

.about-profile blockquote {
    border-left: 4px solid var(--bmp-gold);
    padding-left: 1em;
    font-style: italic;
    background: #f9f9f9;
    margin: 1.5em 0;
    color: var(--bmp-ink);
}

.about-profile cite {
    display: block;
    margin-top: 0.5em;
    font-style: normal;
    font-size: 0.9em;
    color: #666;
}

/************************************
** ボタンスタイル（サイト共通CTA）
************************************/
.wp-block-button__link {
    background-color: var(--bmp-navy);
    color: #fff !important;
    padding: 0.8em 2em;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.wp-block-button__link:hover {
    background-color: var(--bmp-navy-deep);
    text-decoration: none;
    transform: translateY(-2px);
}

/************************************
** プライバシーポリシーページ装飾
************************************/
.page .entry-title {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--bmp-ink);
    border-bottom: 3px solid var(--bmp-navy);
    padding-bottom: 0.3em;
    margin-bottom: 1em;
}

.privacy-policy h2 {
    font-size: 1.4em;
    background: #f2f4f9;
    border-left: 6px solid var(--bmp-navy);
    padding: 0.5em 1em;
    margin-top: 2em;
    margin-bottom: 1em;
    color: var(--bmp-ink);
}

.privacy-policy p {
    line-height: 1.8;
    margin-bottom: 1em;
    color: #333;
    font-size: 1em;
}

.privacy-policy ul {
    list-style-type: disc;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.privacy-policy li { margin-bottom: 0.5em; }

.privacy-policy .contact-block {
    background: #f9f9f9;
    border: 1px solid #ccc;
    padding: 1em;
    margin-top: 2em;
    border-radius: 6px;
    font-size: 0.95em;
    color: #444;
}

/************************************
** ウィジェット用画像エフェクト
************************************/
.image_link {
    display: block;
    position: relative;
    text-decoration: none;
}
.image_link img {
    display: block;
    width: 100%;
    transition: 0.3s;
}
.image_link:before {
    content: "READ MORE";
    display: block;
    color: #ffffff;
    line-height: 48px;
    width: 180px;
    border: solid 1px #fff;
    border-radius: 5px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -1em;
    margin-left: -90px;
    opacity: 0;
    z-index: 3;
    transition: 0.3s;
    font-weight: bold;
    letter-spacing: 0.2em;
}
.image_link:hover img { filter: blur(5px); }
.image_link:hover:before {
    opacity: 1;
    margin-top: -0.5em;
}

/************************************
** 汎用下層ページ（.bmp-plain）
** お問い合わせ・プラポリ・特商法など、
** ブロックエディタ製ページの共通体裁。
** 使い方：ページの中身をグループブロックで包み、
** 追加CSSクラスに bmp-plain を指定するだけ。
************************************/
.bmp-plain {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.bmp-plain h2 {
    font-family: 'Shippori Mincho', serif !important;
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: var(--bmp-ink) !important;
    background: none !important;
    border: none !important;
    border-left: 4px solid var(--bmp-gold) !important;
    border-radius: 0 !important;
    padding: 2px 0 2px 14px !important;
    margin-top: 2.6em !important;
    margin-bottom: 1em !important;
}
.bmp-plain h3 {
    font-family: 'Shippori Mincho', serif !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--bmp-ink) !important;
    background: none !important;
    border: none !important;
    border-left: 3px solid var(--bmp-navy) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 1px 0 1px 12px !important;
    margin-top: 2.2em !important;
    margin-bottom: 0.8em !important;
}
.bmp-plain p {
    line-height: 1.95;
    color: #333;
    margin-bottom: 1.2em;
}
.bmp-plain ul {
    list-style: disc;
    padding-left: 1.6em;
    margin-bottom: 1.4em;
    color: #333;
}
.bmp-plain ul li { margin-bottom: 0.4em; line-height: 1.8; }
.bmp-plain a { color: var(--bmp-navy); }
.bmp-plain a:hover { color: var(--bmp-gold-deep); }
.bmp-plain .wp-block-separator {
    border: none !important;
    height: 1px !important;
    background-color: #dfe4ee !important;
    opacity: 1 !important;
    margin: 3em auto !important;
    max-width: 100% !important;
}

/* .bmp-plain内のCF7フォーム装飾 */
.bmp-plain input[type="text"],
.bmp-plain input[type="email"],
.bmp-plain input[type="tel"],
.bmp-plain textarea,
.bmp-plain select {
    width: 100%;
    background: #fbfcfe;
    border: 1px solid #dfe4ee;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--bmp-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bmp-plain input:focus,
.bmp-plain textarea:focus,
.bmp-plain select:focus {
    outline: none;
    border-color: var(--bmp-navy);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}
.bmp-plain .wpcf7-submit {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 26px auto 0;
    background: var(--bmp-navy);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(30, 58, 138, 0.25);
    transition: background 0.2s ease;
}
.bmp-plain .wpcf7-submit:hover { background: var(--bmp-navy-deep); }
.bmp-plain .wpcf7-not-valid-tip { color: #c0392b; font-size: 0.85rem; margin-top: 4px; }
.bmp-plain .wpcf7-response-output {
    border-radius: 10px;
    padding: 14px 18px;
    margin: 24px 0 0;
    font-size: 0.95rem;
}

/************************************
** フッター（全ページ共通・ブランド統一）
************************************/
#footer {
    background-color: var(--bmp-ink) !important;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.8);
}
#footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}
#footer a:hover { color: var(--bmp-gold); }
#footer .copyright {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85em;
}

/* フッターのテキストロゴは非表示（ヘッダーと重複するため） */
.footer-bottom-logo { display: none !important; }

/* フッターメニュー：白背景ホバーをやめて、中央から広がる金の下線に */
#navi-footer .menu-footer > li > a {
    position: relative;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.75) !important;
    padding-bottom: 4px;
}
#navi-footer .menu-footer > li > a:hover {
    background: transparent !important;
    color: #ffffff !important;
}
#navi-footer .menu-footer > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: -2px;
    height: 1px;
    background-color: var(--bmp-gold);
    transition: left 0.25s ease, right 0.25s ease;
}
#navi-footer .menu-footer > li > a:hover::after {
    left: 4px;
    right: 4px;
}

/* 「トップへ戻る」ボタンも紺に */
#go-to-top .go-to-top-button {
    background-color: rgba(16, 32, 77, 0.85);
    color: #ffffff;
}
#go-to-top .go-to-top-button:hover { background-color: var(--bmp-navy); }

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

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

/*480px以下*/
@media screen and (max-width: 480px) {
    .about-profile h2,
    .about-profile h3 { font-size: 1.2em; }
    .about-profile p,
    .about-profile ul li { font-size: 0.95em; }
}