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

/* ==========================================================
   虹の架け橋 LP
   ========================================================== */

/* ==========================================================
   ① ファーストビュー（PC / スマホ切り替え）
   ========================================================== */

/* PC版ファーストビューを表示 */
.fv-pc {
    display: block;
}

/* スマホ版ファーストビューを非表示 */
.fv-sp {
    display: none;
}

/* ==========================================================
   スマホ表示（画面幅768px以下）
   ========================================================== */

@media screen and (max-width: 768px) {

    /* PC版を非表示 */
    .fv-pc {
        display: none;
    }

    /* スマホ版を表示 */
    .fv-sp {
        display: block;
    }

}


/* ==========================================================
   ファーストビューの一部色のみ変更
   ========================================================== */
.hero-accent{
    color:#0477fd;
}
/* ==========================================================
   ファーストビューの資料請求ボタンのホバーカラー
   ========================================================== */
.custom-button a:hover {
    background-color: #005fcc;
    color: #83bcff;
}
/* ==========================================================
   上下のブロックのマージンを詰める
   ========================================================== */
.tight-top {
    margin-top:-15px !important;
}

/* ==========================================
   LP専用：SEO用H2を非表示
========================================== */

.lp-h2{
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* ==========================================
   LP専用：タイトル（青い下線付き）
========================================== */

.lp-title{
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto 40px;
    padding-bottom: 12px;
    font-weight: 700;
}

.lp-title::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: #0477fd;
    border-radius: 999px;
}

/* ==========================================
   LP専用：タイトル（白い下線付き）
========================================== */

.lp-title-white{
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto 40px;
    padding-bottom: 12px;
    font-weight: 700;
}

.lp-title-white::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: #ffffff;
    border-radius: 999px;
}

/* LP用セクションの上下余白をなくす */
.lp-section{
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================
   LPカード（スマホ）
========================================== */

@media (max-width:768px){

    .lp-card{
        display: grid;
        grid-template-columns: 48px 1fr;
        align-items: center;
        column-gap: 20px;

        /* ← 左側に余白を追加 */
        padding-left: 80px;
        box-sizing: border-box;
    }

    .lp-card .wp-block-image{
        margin: 0 !important;
        justify-self: center;
    }

    .lp-card-title{
        margin: 0 !important;
        text-align: left !important;
    }

}
/* ==========================================
  画像浮き出る
========================================== */
.floating-image img {
    border-radius: 16px;
    box-shadow:
        0 20px 45px rgba(0,0,0,0.20),
        0 8px 15px rgba(0,0,0,0.10);
}

/* ==========================================
LP向け 段落ブロックの横に縦線
========================================== */
.lp-left-line{
    border-left: 5px solid #2F80ED;
    padding-left: 20px;
    margin: 1.5em 0;
    font-size: 1.1em;
    line-height: 1.9;
}

/* ==========================================
下からふわっと表示
========================================== */

.fade-up{
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s ease;
}

.fade-up.active{
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
ここから　LPの不要な余白を消すCSS
========================================== */

/* ==========================================
ランディングページの左右の横幅なし
========================================== */
/* LP（固定ページID:1630）だけ記事の余白を削除 */
.page-id-1630 article.article{
    padding-left: 0 !important;
    padding-right: 0 !important;
　　padding-top: 0 !important;
	margin-left: -1px;
	margin-right: -1px;
	margin-top: -1px;
}


/* LP（固定ページID:1630）だけヘッダーを消す */
.page-id-1630 #header-container,
.page-id-1630 #header{
    display: none !important;
}


/* LP（固定ページID:1630）だけ通知エリアを非表示 */
.page-id-1630 #notice-area-wrap{
    display: none !important;
}





/* LP（固定ページID:1630）だけ */
.page-id-1630 .article{
    margin: -1px !important;
	padding: -1px !important;
}

.page-id-1630 .entry-header{
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.page-id-1630 .entry-content{
    margin: 0 !important;
    padding: 0 !important;
}

/* LP（固定ページID:1630）だけcontentの上余白を削除 */
.page-id-1630 #content{
    margin-top: 0 !important;
}

/* LP（固定ページID:1630）だけ */
.page-id-1630 #content{
    margin-bottom: 0 !important;
}




.page-id-1630 footer{
    margin-top: 0 !important;
}


/* LP（固定ページID:1630）だけ */
.page-id-1630 #container{
    margin: 0 !important;
}

/* LP（固定ページID:1630）だけ */
.page-id-1630 #content > #content-in.wrap{
    padding: 0 !important;
}


/* LP（固定ページID:1630）だけ */
.page-id-1630 main.main,
.page-id-1630 div.sidebar{
    padding: 0 !important;
    margin: 0 !important;
}

article.article {
    padding: 0 !important;
}

/* ==========================================
ここまで　LPの不要な余白を消すCSS
========================================== */



