/*
Theme Name: Hanayumi-LP
Theme URI: 
Author: Hanayumi
Author URI: 
Description: 
Requires at least: 6.7
Tested up to: 6.7
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: hanayumi-lp
Tags: 
*/

body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
}

/* 画面幅別の表示・非表示 */
.hy-only-m {
    display: none;
    margin: 0;
}
@media screen and (max-width: 599px) { /* メニューブロックのブレークポイントに合わせる */
    .hy-only-pc {
        display: none;
    }

    .hy-only-m {
        display: block;
    }
}

/* -------------------------------
見出し
------------------------------- */

/* 見出し：短い下線 */
:is(h1, h2, h3, h4, h5, h6).is-style-short-line {
    margin-bottom: var(--wp--preset--spacing--50);
    padding-bottom: 20px;
    position: relative;
    text-align: center;
}

:is(h1, h2, h3, h4, h5, h6).is-style-short-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: var(--wp--preset--color--main);
}


/* -------------------------------
テーブル
------------------------------- */

.hy-table td {
    white-space: nowrap;
}

/*--------------------------------------------------
スマホ用下部固定フッター（PCは非表示） for WordPress
https://lpdesignermasterschool.com/
-----------------------------------------------------*/

.fix_menu_smartphone {
    display: none;
}

@media screen and (max-width: 599px) {/* メニューブロックのブレークポイントに合わせる */
    .fix_menu_smartphone {
        bottom: 0px;
        display: block;
        left: 0px;
        position: fixed;
        width: 100%;
        z-index: 10000;
        /*はじめは非表示*/
        opacity: 0;
        transform: translateY(100px);
    }


    /* footer下スペース広げる */
    .hy-footer {
        padding-bottom: 4em;
    }
}

/*　上に上がる動き　*/
.fix_menu_smartphone.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*　下に下がる動き　*/
.fix_menu_smartphone.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(100px);
    }
}

/* -------------------------------
追加用
------------------------------- */

/* Slick */
/* .slick-carousel img {
    height: 20vw;
    max-height: 200px;
    min-height: 100px;   
} */