@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.1.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/
    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

@charset "UTF-8";

/* --- 1. アニメーション & 動物たちの設定 --- */
@keyframes fuwari {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.fix-anm {
    position: fixed !important;
    z-index: 999999 !important;
    width: 120px;
    height: auto;
    pointer-events: none;
    animation: fuwari 4s infinite ease-in-out;
}

.house-anm {
    position: fixed !important; bottom: 30px; right: 30px;
    width: 150px; height: auto; z-index: 999999 !important;
    pointer-events: none;
    animation: fuwari 3s infinite ease-in-out;
}

/* --- 2. 背景とヘッダー/フッターの設定 --- */
body.is-my-top::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://asobiknows.jp/wp-content/uploads/2026/02/2e67f2bc18bab8df190993d397016756-scaled.jpg') no-repeat center center !important;
    background-size: cover !important;
    z-index: -2;
}

body.is-my-top .l-header { display: none !important; }

body.is-my-top .l-footer {
    background: rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    padding: 20px 0 !important;
}

/* 基本の文字色（白）の設定 */
body.is-my-top h1, body.is-my-top h2, body.is-my-top h3, body.is-my-top p, body.is-my-top span,
body.is-my-top .c-copyright, body.is-my-top .footer_menu a {
    color: #ffffff !important;
}

/* --- 3. 特殊記号「꩜」とフォントの調整（数字の高さ維持） --- */
@font-face {
    font-family: "AsobiknowsSymbol";
    src: local("Segoe UI Symbol"), local("Apple Color Emoji");
    unicode-range: U+0A64; /* ꩜ だけに限定 */
}

body {
    font-family: "AsobiknowsSymbol", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    line-height: 1.8;
}

span, p, a, div { vertical-align: baseline; }

/* --- 4. お知らせリストの中央揃え & 文字色設定 --- */
/* お知らせエリア全体の設定 */
.is-my-top .p-postList {
    text-align: center !important; 
    background: rgba(255, 255, 255, 0.9) !important; /* 背景を白くして文字を浮かせる */
    padding: 30px 20px !important;
    border-radius: 15px !important;
    max-width: 700px !important; /* 横幅を絞って中央寄せ */
    margin: 20px auto !important;
}

/* お知らせ内の文字を「白」から「濃いグレー」に上書き */
.is-my-top .p-postList .p-postList__title,
.is-my-top .p-postList .p-postList__item,
.is-my-top .p-postList span,
.is-my-top .p-postList time {
    color: #333333 !important;
    display: block !important;
    margin-bottom: 5px !important;
}

/* --- 5. ロゴと文章の密着設定 --- */
.is-my-top img[src*="41832d392f54296c2de675827fb9b922"] {
    margin-bottom: 0 !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.is-my-top img[src*="41832d392f54296c2de675827fb9b922"] + p {
    margin-top: -15px !important;
    padding-top: 0 !important;
    text-align: center !important;
    display: table !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* --- 6. 3つのボックス（カラム）のデザイン --- */
.is-my-top .wp-block-column, 
.is-my-top .loos-rich-column__item,
.is-my-top .cap_box {
    border-radius: 20px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-bottom: 30px !important;
    display: flex !important;
    flex-direction: column !important;
}

.is-my-top .wp-block-column:hover,
.is-my-top .loos-rich-column__item:hover {
    transform: translateY(-8px) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

/* --- 7. スマホ表示（767px以下）の最適化 --- */
@media screen and (max-width: 767px) {
    body.is-my-top { text-align: center !important; }

    .is-my-top .p-mainVisual__img, 
    .is-my-top .c-mainLogo img,
    .is-my-top img[src*="41832d392f54296c2de675827fb9b922"] {
        width: 180px !important;
        max-width: 70% !important;
    }

    .fix-anm { width: 60px !important; opacity: 0.7; }
    .house-anm { width: 70px !important; }

    .is-my-top .wp-block-column, .is-my-top .loos-rich-column__item {
        align-items: center !important;
        margin-bottom: 40px !important;
    }

    /* カラム全体の幅をスリムに */
    .is-my-top .wp-block-columns,
    .is-my-top .loos-rich-column {
        display: block !important;
        width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* 固定メニューを消す */
    .p-fixNav { display: none !important; }
}