@charset "UTF-8";

/*Reset*/
body {
    margin:0;
    padding:0;
    position:relative;

    background-color:#FFF8E4; /*important property*/
    font-size: 100%;
    font-family: "NSansJP", sans-serif;
    color: #333;
}
body * {
    position:relative;
}
img {
    max-width: 100%;
}
ul {
    list-style:none;
    padding:0;
    margin:0;
}
p {
    margin:0;
    line-height: 21px;
    font-size:13px;
}
h1, h2 {
    margin:0;    
}
h1 {
    font-size:30px;
    font-weight: bold;
}
h2 {
    font-size:17px;
}
a {
    color:inherit;
    text-decoration: none;
}

/*General Classes*/
.display-block {
    display:block;
}
.display-inline {
    display:inline;
}
.display-inline-block {
    display:inline-block;
}
.position-absolute {
    position:absolute;
}
.centered-inline {
    text-align:center;
}
.centered-block {
    margin:auto auto;
}
.unlimited-max-width {
    max-width:none;
}
.width-100 {
    width:100%;
}
.side-padding-20px {
    padding-left: 20px;
    padding-right: 20px;
}
.max-width-restrictor {
    max-width:1000px;
    margin:auto auto;
}
.text-align-left {
    text-align:left;
}
.visible-sp {
    display:none;
}
.visible-pc
{
    display: block;
}
/*General Classes(Senjafuda)*/
@font-face {
    font-family: "KouzanMouhituFontOTF";
    src: url("font/KouzanMouhituFontOTF.otf");
}
@font-face {
    font-family: "NSansJP";
    src: url("font/NotoSansJP-VariableFont_wght.ttf");
}

.button {
    user-select: none;
    cursor: pointer;
}

/*Header*/

/*main*/
main
{
    background-color: #fff;
}
main::before
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("img/25578355.jpg");
    background-position: center;
    background-size: cover;
}
#anchor-text-upper,
#anchor-text-lower,
#anchor-image
{
}

#container-canvas-export {
    width:104px;
    height:290px;
}
#canvas-highlight {
    position: absolute;
    top:0;
    left:0;
    opacity: 0;

    z-index: 1;
}
#canvas-highlight.open {
    animation-name: highlight-open;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}
#canvas-highlight.select {
    animation-name: highlight-select;
    animation-duration: 60s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}
#canvas-text,
#canvas-upscaled {
    display: none;
}
#anchor-text-upper,
#anchor-text-lower,
#anchor-image {
    position: absolute;
    top:0;
    left:0;
}
#anchor-text-upper {
    z-index: 10;
}
#anchor-text-lower {
    z-index: 11;
}
#anchor-image {
    z-index: 12;
}
@keyframes highlight-open {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@keyframes highlight-select {
    from {
        opacity: 1;
    }
    to {
        opacity: 1;
    }
}
#container-main
{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:50px;
    width: 100%;
}
#container-left {
    display: flex;
    justify-content: center;
    align-items: center;
    width:300px;
    height: 300px;
    border-radius: 8px;
    background-color: #44f2;
    backdrop-filter: blur(2px);
}
#container-right {
    display: flex;
    flex-direction: column;
    gap:20px;
    width:500px;
    height:100vh;
    padding:20px 30px;
    background-color: #44f2;
    backdrop-filter: blur(2px);
}
#ul-quick
{
    display: flex;
    justify-content: space-between;
    user-select: none;
}
#ul-quick li
{
    cursor: pointer;
    color:#00f;
}
#container-right-lower
{
    scroll-behavior: smooth;
    padding-right:20px;
    overflow-y: scroll;
}
#container-right-lower > div:not(.always-on-top)
{
    width: 100%;
    height:auto;
    padding:40px 0;
    border-bottom: 2px solid #fff;
}
#container-right-lower > div:not(.always-on-top):last-of-type
{
    border-bottom: none;
}
#container-simple-inside
{
    display: flex;
    gap:20px;
}
#ul-patterns
{
    display: flex;
    gap:20px;
}
#ul-patterns li
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:5px;
}
#ul-patterns li p
{
    font-size:16px;
    vertical-align: baseline;
}
#ul-settings
{
    display: flex;
    justify-content: left;
    gap:20px;
}
#ul-settings li
{
    cursor: pointer;
    color:#00f;
}
#ul-settings li p
{
    font-size:16px;
}
input[type="text"],
input[type="number"],
select
{
    margin:0 2px 0 10px;
    padding:6px 8px;
    border: none;
    border-radius: 8px;
    background-color: #fffa;
}
input[type="checkbox"]
{
    margin:0 2px 0 10px;
}
input[type="file"]
{
    width: 100%;
}
button
{
    padding:6px 8px;
    border: none;
    border-radius: 8px;
    background-color: #fffa;
    color:#00f;
}
button:hover
{
    cursor: pointer;
}
.table-text_settings tr th
{
    width:32%;
}
.table-text_settings tr td
{
    width:68%;
}
.table-text_settings tr th,
.table-text_settings tr td
{
    padding: 5px 0;
}
.tr-color input
{
    width:60px;
}
.ul-colors
{
    display: flex;
    flex-wrap: wrap;
}
.ul-colors li input
{
    width:60px;
}
/*Mobile*/
@media screen and (max-width:1000px) {
    main::before
    {
        left: 100vw;
        width: 100vh;
        height: 100vw;
        transform-origin: top left;
        transform: rotate(90deg);
    }
    #ul-quick
    {
        justify-content: left;
        gap:20px;
    }
    #container-main
    {
        flex-direction: column;
        gap:0px;
    }
    #container-left {
        width:100%;
        height: 50vh;
        border-radius: 0;
    }
    #container-right {
        width:100%;
        height: 50vh;
        padding:20px 10px;
    }
    .tr-color input
    {
        width:40px;
    }
    .ul-colors li input
    {
        width:45px;
    }
    .visible-pc
    {
        display: none;
    }
}