.m0 {
    font-family: var(--BoldFontSet);
    font-size: min(12vw, 46px);
}

.m1 {
    font-family: var(--BoldFontSet);
    font-size: min(8vw, 36px);
}

.m2 {
    font-family: var(--BoldFontSet);
    font-size: min(8vw, 32px);
}

.m3 {
    font-family: var(--BoldFontSet);
    font-size: min(8vw, 26px);
}

.m4 {
    font-family: var(--BoldFontSet);
    font-size: min(8vw, 22px);
}

.m5 {
    font-family: var(--BoldFontSet);
    font-size: min(8vw, 18px);
}

.m6 {
    font-family: var(--BoldFontSet);
    font-size: min(8vw, 16px);
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.searchBox {
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}


#Tools {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill,minmax(230px, 1fr));
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.tool {
    position: relative;
    display: flex;
    align-items: center;
    gap: 3px;
    height: 60px;
    border: solid var(--LineWidth) var(--TextColor);
    border-radius: var(--BoxRadius);
    overflow-y: hidden;
}

.tool .bookmark {
    background-color: var(--NaviBaseColor);
    opacity: 0.6;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    width: 30px;
    border: 0;
    aspect-ratio: 1/1;
}

.tool .bookmark img {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.tool .bookmark .star{
    filter: brightness(0) saturate(100%) invert(72%) sepia(82%) saturate(444%) hue-rotate(60deg) brightness(95%) contrast(94%);
}

.tool .toolLink {
    display: flex;
    align-items: center;
    gap: 3px;
    width: 100%;
    height: 60px;
    overflow-y: hidden;
}

.tool .toolLink span {
    max-height: 60px;
    font-family: var(--BoldFontSet);
    font-size: 18px;
    line-height: 1.1;
    overflow: hidden;
}

.tool .toolLink .toolIcon {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 36px;
    width: 36px;
}

.tool .toolLink .toolIcon img {
    background-color: var(--NaviBaseColor);
    width: 80%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--BoxRadius);
}

/* Button */
.buttonBlock {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.buttonBlock .fullButton {
    width: 100%;
    border: solid var(--LineWidth) var(--TextColor);
    border-radius: var(--BoxRadius);
    font-family: var(--BoldFontSet);
}

/* Button parts */
.buttonBase {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-direction: row;
    width: 80%;
    margin: 6px auto 6px auto;
}

.buttonBase .bt1 {
    flex: 1;
    flex-grow: 1;
    height: 50px;
    padding: 6px 0 6px 0;
    border-radius: var(--BoxRadius);
    font-family: var(--BoldFontSet);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.buttonBase .basicFill {
    background-color: var(--TextColor);
    color: var(--BaseColor)!important;
    border: 0;
}

.buttonBase .redFill {
    background-color: #d91b1b;
    color: var(--BaseColor)!important;
    border: 0;
}

.buttonBase .greenFill {
    background-color: #34ba2f;
    color: var(--BaseColor)!important;
    border: 0;
}

.buttonBase .basicLine {
    border: solid var(--LineWidth) var(--TextColor);
    box-sizing: border-box;
}

.buttonBase .redLine {
    border: solid var(--LineWidth) #d91b1b;
}

.buttonBase .redLine {
    border: solid var(--LineWidth) #34ba2f;
}

.hover {
    transition-duration: var(--FlipSec);
    transition-property: opacity;
}

.hover:hover {
    opacity: 0.3;
}

#Posts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post {
    padding: 6px 0 6px 0;
    border: solid var(--LineWidth) var(--TextColor);
    border-radius: var(--BoxRadius);
    font-family: var(--BoldFontSet);
    text-align: center;
}

#PostSpace h1 {
    position: relative;
    margin: 3px 0 6px 0;
    padding-left: 8px;
    border-left: dotted 3px var(--TextColor);
    font-family: var(--BoldFontSet);
    font-size: min(8vw, 26px);
    text-align: left;
}

#PostSpace h1::before {
    z-index: -1;
    content: "";
    background-color:  var(--TextColor);
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

#PostSpace h2 {
    position: relative;
    margin: 3px 0 6px 0;
    padding-left: 8px;
    border-left: dotted 3px var(--TextColor);
    font-family: var(--TextFontSet);
    font-size: min(8vw, 22px);
    text-align: left;
}

#PostSpace h2::before {
    z-index: -1;
    content: "";
    background-color:  var(--TextColor);
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

#PostSpace h3 {
    font-family: var(--TextFontSet);
    font-size: min(8vw, 18px);
    text-align: left;
}

#PostSpace h4 {
    font-family: var(--TextFontSet);
    font-size: min(8vw, 16px);
    text-align: left;
}

#PostSpace h5 {
    font-family: var(--TextFontSet);
    font-size: min(8vw, 14px);
    text-align: left;
}

#PostSpace h6 {
    font-family: var(--TextFontSet);
    font-size: min(8vw, 12px);
    text-align: left;
}

#PostSpace a,#PostSpace a:visited,#PostSpace a:link {
    color: var(--AccentColor);
}

/*--TextFontSet*/

textarea {
    border-radius: var(--BoxRadius);
}