/* font読み込み */

@import url('https://fonts.googleapis.com/earlyaccess/hannari.css');
@import url('https://fonts.googleapis.com/css2?family=Buda:wght@300&display=swap');

.googlefonts {
    font-family: 'Hannari';
    font-family: 'Buda', cursive;
}

:root {
    /* 背景色1 */
    --base-color1: #ffffff;
    --base-color1-rgb: 255, 255, 255;

    /* 背景色2 */
    --base-color2: #ffffff;
    --base-color2-rgb: 255, 255, 255;


    /* テキストカラー */
    --color-text: #999;
    --color-text-rgb: 153, 153, 153;
    --color-text-contrast-rgb: 0, 0, 0;

    /* プライマリ */
    --color-primary: #e8d7b8;
    --color-primary-rgb: 232, 215, 184;
    --color-primary-contrast-rgb: 0, 0, 0;

    /* セカンダリ */
    --color-secondary: #f9d8c7;
    --color-secondary-rgb: 249, 216, 199;
    --color-secondary-contrast-rgb: 0, 0, 0;
}


/* 背景 */
body {
    background-attachment: fixed !important;
    background: #f0f0f0;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, var(--base-color1), var(--base-color2));
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, var(--base-color1), var(--base-color2));
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: var(--color-text);
}

*/

/* メニュー */
#menu {
    background: #fafafa;
    /* fallback for old browsers */
}

#menu li {
    font-family: 'Julius Sans One', sans-serif;
}

/* メインコンテンツ 

#main_content {
    filter: drop-shadow(0px 0px 10px rgba(0, 30, 40, 0.2));
}*/

/* 見出し*/
h1,
h2,
h3 {
    font-family: "Hannari", "Buda", "Poiret One", cursive;
}

h1#site_title {
    color: white;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.6));
}

h2 {
    color: #999;
    text-align: center;
    margin:1em 0 2em 0;
}

h3 {
    color: #999;
}

p {
    font-size: 90%;
}

/* card */

.uk-card-default,
.uk-card-default > .uk-card-title {
    color: var(--color-text) !important;
}

/* 更新履歴用 */
#news h4 {
    padding: 0em;
    margin: 0em;
    font-family: 'Libre Caslon Display', serif;
    font-size: 1.2em;
}

#news ul {
    padding: 0em 0em 0.5em 1em;
    margin: 0em;
    list-style-type: none;
    font-size: 0.9em;
}

#news ul li {
    position: relative;
    padding: 0em 0.3em 0.3em 1em;
    margin: 0em;
}

#news ul li::before {
    position: absolute;
    content: '';
    display: block;
    top: 0.5em;
    left: 0;
    width: 6px;
    height: 6px;
    border-right: 3px solid #909090;
    border-bottom: 3px solid #909090;
    transform: rotate(-45deg);
}

.head_test-wrap {
    padding-bottom: 20px;
    /* 余白指定 */
}

/*  */
.ns-bg-menu {
    background-image: linear-gradient(to top, #fff 0%, white 100%);
}

/* ライトボックスの背景*/
.uk-lightbox {
    background: #f0f0f0;
}

/* フッターのフォント */

footer {}

/* readmore */

.main {
    position: relative;
    width: 300px;
    z-index: 0;
    border: 1px solid #CCC;
}

.main.onhidden {
    height: 250px;
    overflow-y: hidden;
}

.main .content {
    padding: 10px;
}

.main .readmore {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0) linear-gradient(180deg, rgba(255, 255, 255, 0.5), white) repeat scroll 0 0;
    font-weight: bold;
    cursor: pointer;
    z-index: 999;
}

.main .readmore span {
    border-radius: 20px;
    padding: 5px 30px;
    background-color: #dd4b39;
    color: #FFF;
}

/* div link */
.box a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
