/* [begin] Common Color Palette */

:root {
    --link: #f49d37;
    --bold: #7e499b;
    --strong: #fff;
    --highlight: #ffff2f;
    --marker: #ffd500;
    --cottoncandy: #fdb4a9;

    --bgcolor: #3D405B;
    --light: #c67259;
    --middle: #a659d0;
    --darker: var(--bold);
    --dark: #17182d;

    --textColor: #b1bed6;
    --h1text: #faf7e6;
    --h2text: #e6dec5;

    --shadow: #666;
    --menuhover: white;
    --precolor: #263238;
    --precolorText: #94a1bb;
    --border-dark: #1d1404;
}

/* [end] Common Color Palette */

* {
    margin: 0;
    padding: 0;
}

div,
h1,
h2,
h3,
p,
ul,
li,
input,
textarea,
table,
tr,
th,
td,
footer,
header,
nav,
section {
    box-sizing: border-box;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

a img {
    border-style: none;
}

ul,
li {
    list-style-type: none;
}

html {
    min-height: 100%;
    position: relative;
    font-size: 62.5%;
}

body {
    /* BACKGROUND */
    background: url(image/firebg.webp) var(--dark);
    /* TEXT COLOR */
    color: var(--textColor);
    /* TEXT SIZE & STYLE */
    font-size: 1.2em;
    font-family: Verdana, Roboto, "游ゴシック", "Yu Gothic", "游ゴシック体",
        "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
        "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

a {
    color: var(--link);
}

.block a {
    background: transparent;
    border-radius: 5px;
    display: inline-block;
}

.block a:hover {
    background: var(--cottoncandy);
    color: white;
}

.block a img {
    vertical-align: bottom;
}

/*--------------------------------------------------------
Content Wrapper
--------------------------------------------------------*/
#wrapper {
    text-align: left;
}

#index {
    margin: 0 auto;
    width: 500px;
}

/*--------------------------------------------------------
HEADER
--------------------------------------------------------*/
header {
    background: var(--middle);
    border-bottom: 3px solid var(--darker);
    position: fixed;
    top: 0;
    left: 0;
    min-height: 80px;
    width: 100%;
    z-index: 10;
}

#header-inner {
    margin-bottom: 3em;
    /* メニュー分余白 */
    padding: 10px;
}

/*--------------------------------------------------------
MAIN
Adding the left side WIDTH and the right side WIDTH so that the overall width is not exceeded.
--------------------------------------------------------*/
#contents {
    margin: 0 auto;
    height: 100%;
    width: 1000px;
    /* 全体の幅・大きさはここで変更 */
}

/* LEFT */
#leftcolumn {
    float: left;
    text-align: left;
    width: 300px;
}

#leftcolumn a {
  background-color: transparent;
	border-radius: 5px;
	display: inline-block;
	padding: 3px;
	border: 1px solid var(--textColor);
	margin: 3px auto;

}

/* RIGHT */
#rightcolumn {
    display: inline;
    float: right;
    margin: 0;
    width: 700px;
}

.block {
    background: var(--bgcolor);
    border: 3px solid var(--link);
    border-radius: 5px;
    box-shadow: 0 1px 2px var(--shadow);
    clear: both;
    margin: 20px 10px;
    padding: 8px;
    word-wrap: break-word;
}

#contents,
#rightcolumn,
#leftcolumn,
.block {
    box-sizing: border-box;
}

/*--------------------------------------------------------
FOOTER
--------------------------------------------------------*/
footer {
    background: var(--darker);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-width: 1000px;
    /* #contentsのwidthと同じ数値 */
}

.footer-inner {
    padding: 10px;
    text-align: center;
}

footer a {
    color: var(--bgcolor);
}

/*--------------------------------------------------------
MENU
--------------------------------------------------------*/
#menu {
    background: var(--darker);
    border-bottom: 3px double var(--middle);
    position: absolute;
    bottom: 0;
    line-height: 1;
    text-align: center;
    width: 100%;
}

nav li {
    /* 横並び */
    display: inline-block;
    /* SUB-MENU DISPLAY POSITION STYLE*/
    position: relative;
    /* MENU HEIGHT */
    height: 2em;
    line-height: 2em;
}

nav li a,
nav li span {
    color: var(--textColor);
    display: inline-block;
    padding: 0 5px;
    text-decoration: none;
}

nav li a:hover,
nav li span:hover {
    color: var(--menuhover);
    transition: 0.6s;
}

/* SUB-MENU */
.sub-menu {
    background: var(--link);
    position: absolute;
    /* SUB-MENU WIDTH */
    width: 200px;
    z-index: 20;
}

.sub-menu li {
    display: block;
    /* 横並びをリセット */
    visibility: hidden;
    /* 隠す */
    overflow: hidden;
    /* 隠す */
    height: 0;
    /* 隠す */
    width: 100%;
}

.sub-menu li a {
    border-bottom: 1px solid var(--middle);
    color: var(--darker);
    display: block;
}

.sub-menu li a:hover {
    background: var(--cottoncandy);
    color: var(--darker);
}

nav li:hover .sub-menu li {
    visibility: visible;
    overflow: visible;
    /* SUB-MENU HEIGHT */
    height: auto;
    line-height: 2em;
    transition: 0.5s;
}

#open {
    display: none;
}

/*--------------------------------------------------------
SCROLL TO TOP & COPYRIGHT NOTICE
--------------------------------------------------------*/
#pagetop {
    /* 位置はscroll.jsで設定 */
    background: var(--light);
    /* 背景 */
    border: 3px solid var(--darker);
    color: var(--darker);
    /* 色 */
    height: 60px;
    width: 60px;
    /* 大きさ */
    border-radius: 30px;
    box-sizing: border-box;
    display: block;
    line-height: 20px;
    padding-top: 27px;
    position: fixed;
    text-align: center;
    z-index: 10;
}

#pagetop:before {
    content: "\25B2";
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 7px;
    width: 100%;
}

#pagetop:hover {
    background: var(--middle);
}

#fl a {
    display: inline-block;
    margin: 5px 0;
}

/*--------------------------------------------------------
HEADINGS, FRAMES, LINES
--------------------------------------------------------*/
h1 {
    color: var(--h1text);
    font-size: 1.5em;
    margin: 0 0 0.5em;
}

h2 {
    background: var(--darker);
    border-radius: 6px;
    color: var(--h2text);
    font-size: 1em;
    margin: 1em 0;
    padding: 10px;
    position: relative;
}

h2::after {
    border: 8px solid transparent;
    border-top: 8px solid var(--darker);
    content: "";
    position: absolute;
    top: 100%;
    left: 30px;
    height: 0;
    width: 0;
}

h3 {
    background: var(--bold);
    border-radius: 6px 0px 0px 6px;
    color: var(--h2text);
    font-weight: 400;
    margin: 1em -8px 1em 0;
    padding: 0 10px;
}

dt {
    border-bottom: 1px solid;
    font-weight: 700;
}

dd {
    padding: 1em;
}

em {
    background: var(--cottoncandy);
    /* Ie9 */
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, var(--bgcolor)),
        color-stop(0.49, var(--bgcolor)),
        color-stop(0.5, var(--cottoncandy)),
        color-stop(1, var(--cottoncandy))
    );
    background: -webkit-linear-gradient(transparent 50%, var(--cottoncandy) 0%);
    background: linear-gradient(transparent 50%, var(--cottoncandy) 0%);
}

input,
textarea {
    background: var(--middle);
    border: 1px dotted var(--darker);
    color: var(--h2text);
    margin: 3px 0;
    width: 200px;
}

textarea {
    height: 50px;
}

hr {
    display: block;
    border: 0;
    border-top: 1px solid var(--middle);
    margin: 1em 0;
    padding: 0;
    height: 1px;
}

.marker {
    background: var(--marker);
    padding: 1px 5px;
}

.dcline {
    border-left: 5px solid #dd0206;
    margin: 5px 0;
    padding: 3px;
}

.textbox {
    border: 1px solid;
    margin: 10px 0;
    padding: 3px;
    text-align: center;
}

.title {
    font-size: 1.5em;
    font-weight: 700;
    margin: 2em 0;
    text-align: right;
}

.txt {
    border-left: 1px dotted;
    color: var(--middle);
    margin: 1em;
    padding: 0 0 0 1em;
}

.frame {
    background: var(--middle);
    border-radius: 3px;
    padding: 5px;
}

.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

/*--------------------------------------------------------
MOBILE QUERIES
Adjusts at 600px width
--------------------------------------------------------*/
@media screen and (max-width: 600px) {
    body {
        font-size: 1.3em;
    }

    header {
        border-bottom: 20px solid var(--darker);
        position: relative;
    }

    #header-inner {
        margin-bottom: 0;
    }

    h1 {
        line-height: 1;
        min-height: 40px;
        padding-right: 50px;
    }

    #index h1 {
        min-height: inherit;
        padding-right: 0;
    }

    #contents {
        margin: 0 auto 50px auto;
        width: 100%;
    }

    #leftcolumn,
    #rightcolumn {
        float: none;
        width: 100%;
    }

    #rightcolumn {
        margin-left: 0;
    }

    header,
    footer {
        min-width: 100%;
    }

    .block a {
        display: inline-block;
        margin: 5px 5px 5px 0;
        padding: 5px;
    }

    .block a.bg-none {
        background: none;
        border-radius: 0;
        margin: 5px 5px 0 0;
        padding: 0;
    }

    .block a:hover {
        background: var(--cottoncandy);
        color: #f1edde;
        transition: 0.5s;
    }

    #fl a {
        color: #fff;
        background: #8c8673;
        border-radius: 5px;
    }

    #index {
        width: auto;
    }

    /* 画像の縮小表示 */
    img {
        max-width: 100%;
        height: auto;
    }

/*--------------------------------------------------------
MENU FOR MOBILE QUERIES
--------------------------------------------------------*/
    /* メニュー */
    #menu {
        background: rgba(87, 69, 15, 0.9);
        /* メニューの背景色 */
        display: none;
        left: 0;
        bottom: inherit;
        text-align: left;
        z-index: 20;
    }

    nav li {
        display: block;
        /* 横並び解除 */
        height: auto;
        line-height: inherit;
        /* 高さリセット */
    }

    nav li a,
    nav li span {
        color: #fff;
        display: block;
        position: relative;
        padding: 15px 20px;
        /* リンクの余白 一列の高さはここで調節 */
    }

    nav li a:hover,
    nav li span:hover {
        background: rgba(221, 211, 179, 0.8);
        color: var(--darker);
    }

    /* サブメニュー */
    .sub-menu {
        background: none;
        position: static;
        display: none;
        /* 隠す */
        width: 100%;
        z-index: auto;
    }

    .sub-menu li {
        display: inline-block;
        /* 一列ごとにするならここを削除 */
        visibility: visible;
        /* リセット */
        overflow: visible;
        /* リセット */
        height: auto;
        /* 高さリセット */
        width: 50%;
        /* 一列ごとにするならここを削除 */
    }

    .sub-menu li a {
        border-bottom: 0;
        color: #fff;
    }

    .sub-menu li a:after {
        display: none;
    }

    nav li:hover .sub-menu li {
        height: auto;
        line-height: inherit;
        /* 高さリセット */
    }

    nav li span:after {
        border-top: 3px solid #fff;
        /* メニュー「>」の色 */
        border-right: 3px solid #fff;
        /* メニュー「>」の色 */
        content: "";
        display: block;
        margin-top: -5px;
        position: absolute;
        top: 50%;
        right: 10px;
        height: 5px;
        width: 5px;
        -ms-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        transition: 0.2s;
    }

    nav li span.open:after {
        -ms-transform: rotate(135deg);
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    /* メニューを開くボタン */
    #open {
        display: inline-block;
        margin: 0 5px;
        position: absolute;
        height: 40px;
        width: 40px;
        /* 大きさ */
        top: 10px;
        right: 10px;
        /* 位置 */
    }

    #open-icon,
    #open-icon:before,
    #open-icon:after {
        background: #fff;
        /* 線の色 */
    }

    #open-icon {
        display: block;
        margin: -1px 0 0 -10px;
        position: absolute;
        top: 50%;
        left: 50%;
        height: 2px;
        width: 20px;
    }

    #open-icon:before,
    #open-icon:after {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        height: 2px;
        width: 20px;
        transition: 0.3s;
    }

    #open-icon:before {
        margin-top: -8px;
    }

    #open-icon:after {
        margin-top: 6px;
    }

    #open .close {
        background: transparent;
    }

    #open .close:before,
    #open .close:after {
        margin-top: 0;
    }

    #open .close:before {
        -ms-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #open .close:after {
        -ms-transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }
}

/*--------------------------------------------------------
MY ADDED CSS CODE
--------------------------------------------------------*/

a.agegate_button {
    text-decoration: none;
    outline: none;
    margin: auto;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 2em;
    padding-right: 2em;
    font-weight: bold;
    background-color: var(--middle);
}

a.agegate_button:hover {
    background-color: #dd0206;
}

a#fl {
    margin: auto;
    padding: 0.5em 1em;
    border-radius: 4em;
}

#topBar {
    width: 100%;
    padding: 10px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    background-color: #f49d37;
}

.ficfooter {
    background: var(--darker);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-width: 1000px;
    /* #contentsのwidthと同じ数値 */
}

#ficfooter a {
    color: var(--bgcolor);
}

strong {
    /* this styles bold text */
    color: var(--strong);
}

.post-list li::before{
    content: "❤︎";
    padding-right: 8px;
    color: var(--sub-color);
}

.floating {
    transform: translateY(-3px);
    animation: float 1s infinite;
}

.pulsing {
    animation: pulse 0.75s infinite;
}

/* ----------------- keyframes ----------------- */

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(-3px);
        transition: ease 0.5s;
    }
    50% {
        transform: translateY(3px);
        transition: ease 0.5s;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        transition: linear 0.5s;
    }
    20% {
        transform: scale(1);
        transition: linear 0.5s;
    }
    100% {
        transform: scale(0.9);
        transition: ease 0.75s;
    }
}

@keyframes flicker {
    0% {
        box-shadow: 0 0 10px 2px var(--lavender);
    }
    50% {
        box-shadow: 0 0 10px 3px var(--lavender);
    }
}

/* ----------------- filters ----------------- */

/* example: <img class="invert"> */
.invert {
    filter: invert(100%);
}

.blur {
    filter: blur(4px);
}
