@charset "UTF-8";
:root {
    --main-color: #626482;
    --main-color-t: #cfd0d9;
    --main-width: 380px;
}

body {
    background-size: cover;
}

#header {
    background-color: transparent;
}

#header .container {
    background: var(--main-color);
}

#wrap {
    align-items: center;
}

#contents {
    flex-direction: column;
    justify-content: center;
    background: var(--main-color);
}

.headerimg-img {
    margin-right: -5vw;
    margin-left: -5vw;
    border-bottom: 1px solid var(--main-color);
}

[data-main-header]:not([data-main-header*="header"]) #main-header > * {
    margin-top: 0;
}

#copy::after {
    display: none;
}

#header .container {
    width: var(--main-width);
    background: var(--main-color);
    box-shadow: 0px 0px 0px 1px var(--main-color);
}

[data-headerimg-type=""][data-page*="other"] .headerimg-title {
    border-bottom: 1px dashed var(--main-color);
}

#contents {
    width: var(--main-width);
    background: #fffffff0;
    box-shadow: 0px 0px 0px 1px var(--main-color);
}

#contents .inner {
    width: var(--main-width);
}

[data-column="col2"] #contents .inner {
    display: flex;
    flex-direction: column;
}

#main-header {
    margin-top: 2.8em;
}

[data-column="col2"] #menu {
    width: calc(var(--width-menu) - 3vw);
    padding-right: 2vw;
    top: 0;
    right: 0;
    position: fixed;
    height: 100vh;
}

#menu::before, #rmenu::before {
    background-color: var(--main-color);
}

img.image-center {
    margin: 16px auto 0;
    display: block;
    border-radius: 16px;
}

h1, h2, h3, h4, h5, h6 {
    overflow: unset;
    font-weight: 600;
}

h1 {
    font-size: 1em;
}

h2:not([class*="topic"]) {
    background-color: transparent;
    color: var(--main-color);
    margin-top: 0;
    padding: 0;
}

h3 {
    position: relative;
    padding-bottom: 1.4rem;
    font-size: 2.2rem;
}
h3:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    content: '';
    background-image: -webkit-repeating-linear-gradient(135deg, #000, #000 1px, transparent 2px, transparent 5px);
    background-image: repeating-linear-gradient(-45deg, #000, #000 1px, transparent 2px, transparent 5px);
    background-size: 7px 7px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

h4 {
    position: relative;
    display: inline-block;
    padding: 0 32px;
    font-size: 2rem;
}
h4:before, h4:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 28px;
    height: 1px;
    background-color: black;
    -webkit-transform: rotate(-65deg);
    transform: rotate(-65deg);
}
h4:before {
    left:0;
}
h4:after {
    right: 0;
}

h5 {
    font-weight: 600;
    position: relative;
    margin-bottom: 2.4rem;
    padding-bottom: 1rem;
    font-size: 1.8rem;
}

h5::before {
    content: '';
    background-color: #000;
    width: 4.5rem;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
}

#menu > * {
    margin-top: 88px;
}
.menubox > .title {
    color: #fff;
    border-bottom: 0;
    text-align: left;
    letter-spacing: 1px;
}
.menubox .sitemenu > li {
    overflow: unset;
    color: #fff;
    font-weight: 400;
}
.menubox .sitemenu a::after {
    border-bottom-width: 2px;
    bottom: 0.8rem;
    width: calc(100vw + 40px);
}
.menulist a span {
    letter-spacing: 1px;
}

[data-spmenu="false"] #header::before {
    display: none;
}

#siteNavi {
    background-color: var(--clr-siteNavi-bg, #f0f0f0);
    padding: 0 var(--padding-overall);
    width: calc(var(--main-width) + 10vw);
    box-shadow: 0px 0px 0px 1px var(--main-color);
}


footer, #footer {
    width: 100%;
    background-color: transparent;
}
#footer .inner {
    width: var(--main-width);
    background-color: var(--main-color);
    gap: 0;
    box-shadow: 0px 0px 0px 1px var(--main-color);
    padding: 1em var(--padding-overall);
}
#footer .inner > *:first-child:not(#copy) {
    margin-top: 2em;
}
#footer .inner > *:nth-last-child(2) {
    margin-bottom: 0;
}
.footer-menu_ul {
    align-items: center;
}
.footer-menu_ul > li, .footer-menu_ul > li:last-child {
    border: none;
}
.footer-menu_ul a {
    font-weight: 600;
}


.bold {
    font-weight: 600;
}
.bold-purple {
    font-weight: 600;
    color: var(--main-color);
}
.bold-red {
    font-weight: 600;
    color: #822228;	
}
.bold-purple-marker {
    font-weight: 600;
    background-color: var(--main-color-t);
    padding: 0 2px;
    line-height: 1.8;
}
.bold-purple-marker-s {
    font-weight: 600;
    background: linear-gradient(transparent 70%, var(--main-color-t) 70%);
    padding: 0 2px;
    line-height: 1.8;
}

.link-anime {
    background:
        radial-gradient(circle closest-side, currentColor 80%, transparent) bottom var(--p1, 0px) left 50% /100% var(--p, 12px) no-repeat,
        linear-gradient(currentColor 0 0) bottom 4px left 50%/var(--d, 0%) 3px no-repeat;
    transition: 0.5s;
}
.link-anime:hover {
    --d: 100%;
    --p: 3px;
    --p1: 4px;
}

ul.style-admin {
    list-style: none;
    overflow: unset;
    padding-left: 2rem;
}

ul.style-admin {
    line-height: 1.5;
    margin-top: var(--margin-component);
    margin-bottom: var(--margin-component);
}

ul.style-admin li {
    margin: 2em 0 0;
    line-height: 1.5;
    border-left: 2px solid var(--main-color-t);
    padding-left: 1em;
}

ul.style-admin li::before {
    background-color: var(--main-color-t);
    display: inline-block;
    content: '';
    margin-left: -1.4em;
    margin-right: 0.75em;
    width: .65em;
    height: .65em;
    position: relative;
    top: -1em;
    border-radius: 20px;
}

@media (max-width: 1200px) {
    [data-column="col2"] #menu {
        width: calc(var(--width-menu) - 9vw);
    }
}
@media (min-width: 1025px) {
    #header-menu #sitemaps {
        display: none;
    }
}
@media (max-width: 1024px) {
    #header .container {
        width: calc(var(--main-width) + 10vw);
        position: relative;
    }
    [data-spmenu="true"] #header .container {
        pointer-events: auto;
    }
    [data-spmenu="true"] #body #header {
        width: auto;
    }
    [data-spmenu="true"] #body #header::before {
        transform: translateX(0vw);
    }
    #header::before {
        transform: translateX(200vw);
    }
    #header::before {
        width: 100%;
        height: 100vh;
    }
    [data-column="col2"] #menu {
        display: none;
    }
    [data-spmenu="true"] #spmenu {
        display: flex;
    }
    [data-column="col2"] #contents {
        overflow-x: hidden;
    }
}

@media (max-width: 425px) {
    #header .container {
        max-width: 425px;
    }
    #body #header {
        width: 100%;
    }
    #contents .inner {
        max-width: 100%;
    }
    [data-spmenu="true"] #logo {
        padding: 0.5em var(--padding-overall);
    }
}