/*
Theme Name: demo1
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: demo1
Tags: 
*/

/* 最大幅：400px */
.max-width-400px {
    max-width: 400px;
}

/* カテゴリー一覧： リストマークなし */
.wp-block-categories.is-style-no-listmark {
    list-style: none;
    padding-left: 0;
}

/* 投稿日： 時計アイコン */
.wp-block-post-date.is-style-clock-icon::before {
    content: url(assets/images/clock-regular.svg);
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    margin-right: 0.5em;
    font-size: 1.25em;
    opacity: 0.3;
}

/* テンプレートパーツ： 上マージン削除 */
.wp-block-template-part.is-style-rm-margin-top {
    margin-top: 0;
}

p.is-style-scroll-down::before {
    content: "";
    position: absolute;
    top: 0;
    right: -7px;
    width: 12px;
    height: 12px;
    border: solid 1px var(--wp--preset--color--dark-gray);
    border-radius: 50%;
    background-color: var(--wp--preset--color--primary);
    animation: scroll 4s infinite;
}

@keyframes scroll {
    0% {
        top: 0%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* カラム：モバイル逆順 */
@media (max-width: 781px) {
    .wp-block-columns.is-style-reverse {
        flex-direction: column-reverse;
    }
}