/* header */

.device-pc .site-header .container {
    max-width: 100vw;
    padding: 0 4%;
}

.device-pc .site-header-logo,
.device-pc .site-header-logo img {
    width: 	90px;
    height: 90px;
    max-height: unset;
    padding: 0;
    margin: 0;
}

.device-pc.scrolled .site-header-logo, .device-pc.scrolled .site-header-logo img {
    width: 0px;
    height: 70px;
    margin: 0;
    padding: 0;
}

.device-pc .global-nav-list>li .global-nav-name {
    font-size: 1rem;
    font-weight: 300;
    transition: 0.3s;
}

.device-pc .global-nav-list>li:hover .global-nav-name {
    font-weight: 500;
}

.device-pc .global-nav-list li {
    font-size: 0.9em;
}

.device-pc .global-nav-list>li>ul.sub-menu {
    margin-left: -2.5em;
}

.device-pc .global-nav-list>li:first-child {
    display: none;
}

.device-pc .global-nav-list>li>ul.sub-menu {
    background: #fff;
    box-shadow: none;
}

.device-pc .global-nav-list .sub-menu li a, .device-pc .global-nav-list .sub-menu li a:hover {
    color: var(--wp--preset--color--vk-color-custom-1);
}

.device-pc .global-nav-list .sub-menu li a {
    border-bottom: 1px dashed var(--wp--preset--color--vk-color-custom-3);
}

.device-pc .global-nav-list .sub-menu li a:hover {
    font-weight: 500;
    background: #fff;
}

.device-pc.header_scrolled .site-header {
    box-shadow: none;
    border-bottom: 1px dashed var(--wp--preset--color--vk-color-custom-3);
}

.device-pc.header_scrolled .site-header:before {
    content: "✁";
    transform: scaleX(-1);
    font-size: 2em;
    line-height: 1em;
    position: absolute;
    bottom: -20px;
    right: 1.5%;
}

.device-mobile .site-header-logo img {
    max-height: 128px;
    padding: 0 !important;
}

.vk-mobile-nav-menu-btn {
    width: 60px;
    height: 60px;
    top: 0;
    right: 0 !important;
    border: none;
    background-color: transparent;
}

.vk-mobile-nav-menu-btn.menu-open {
    border: none;
    background: var(--vk-mobile-nav-menu-btn-close-bg-src) center 50% no-repeat transparent;
}

.vk-menu-acc .acc-btn {
    width: 44px;
    height: 44px;
    border: none;
}

.device-pc .menu-item:last-child .global-nav-name {
    border: 1px solid;
    padding: 0.25em 1em;
}


/* page-header */

.page-header {
    min-height: auto;
    height: auto !important;
}

.page-header-inner {
    margin: 0 auto;
}


/* padding */

.site-body {
    padding: var(--vk-margin-sm) 0;
}

.wp-block-media-text__content {
    padding: 0 !important;
}


/* font */

.page-header-title,
h1.page-header-title {
    margin-block-end: 0 !important;
}

.page-header-title,
h1.page-header-title,
h1,
h2,
h3,
h4,
h5,
h6 {
		text-transform: uppercase;

}

.page-header-title,
h1.page-header-title,
.home h2 {
    font-size: 3em;
    font-weight: 300;
    letter-spacing: 0;
		line-height: 1em;
    text-align: left;
    position: relative;
}

.device-mobile .page-header-title, .device-mobile h1.page-header-title, .device-mobile.home h2 {
    font-size: 2.15em !important;
}

#h1-sub {
    margin: calc(0px - var(--vk-margin-sm)) 0 0;
}

.home h2 {
    margin-block-end: 0.5em !important;
}

.page-header-title:before,
.home h2:before {
    content: "";
    border-top: 2px solid var(--wp--preset--color--vk-color-custom-2);
    padding: 40px;
    position: absolute;
    top: 0.5em;
    left: -104px;
}

body:not(.home) h2,
.home h3 {
    font-size: 2em;
    margin-block-end: 0.5em !important;
}

body:not(.home).device-mobile h2,
.device-mobile.home h3 {
    font-size: 1.75em;
}


/* font */

li a,
p a,
a:hover {
    text-decoration: none !important;
}


/* btn */

.btn,
input[type=submit] {
    font-weight: 300;
    background: #fff !important;
    color: var(--wp--preset--color--vk-color-custom-1) !important;
    border: 1px solid var(--wp--preset--color--vk-color-custom-2);
    box-shadow: 8px 8px #fff, 8px 8px #fcfaf5 inset;
    width: 320px;
    position: relative;
    top: 0;
    left: 0;
    transition: 0.3s;
}

.entry-body .btn {
    margin-top: 1em;
}

.btn.has-vk-color-primary-background-color {
    background-color: #fff !important;
}

.btn:hover,
input[type=submit]:hover{
		font-weight: 500;
    box-shadow: none !important;
    opacity: 1 !important;
    top: 8px;
    left: 8px;
}

.btn i {
    margin: 0 !important;
    color: transparent;
    transition: 0.3s;
    position: absolute;
    right: 40px;
}

.btn:hover i {
    color: var(--wp--preset--color--vk-color-custom-2);
    right: 24px;
}

.device-mobile .vk_button {
    text-align: center !important;
}


/* text-media */

.device-pc .wp-block-media-text__content {
    background: #fff;
    width: 640px;
    padding: var(--vk-margin-sm) !important;
    z-index: 1;
    position: absolute;
}

.device-mobile .wp-block-media-text__content {
    background: #fff;
    width: 100vw;
    margin: calc(0px - var(--vk-margin-sm) - 8px) -15px 0 !important;
    padding: var(--vk-margin-sm) 15px var(--vk-margin-xs) !important;
}

.device-pc .wp-block-media-text:not(.has-media-on-the-right) .wp-block-media-text__content {
    right: 0;
}

.device-pc .wp-block-media-text__media {
	width: 50vw;
	height: auto !important;
	min-height: auto !important;
	aspect-ratio: 4 / 3;
}

.device-mobile .wp-block-media-text__media {
    aspect-ratio: 1.618 / 1;
    width: 100%;
    height: auto !important;
    margin: 0 0 2em !important;
}

.device-pc .wp-block-media-text:not(.has-media-on-the-right) .wp-block-media-text__media {
	margin-left: calc(30% - 30vw);
}


/* table */

table {
    border: none;
}

tr {
    border-bottom: 1px dashed var(--wp--preset--color--vk-color-custom-3);
}

td {
    border: none !important;
    padding: 1em !important;
}

td:first-child {
    text-transform: uppercase;
    font-size: 1.15em;
    font-weight: 500;
    width: 25%;
}

.device-pc td:first-child:after {
    content: ":";
    font-size: 1.15em;
    font-weight: 500;
    color: var(--wp--preset--color--vk-color-custom-2);
    position: absolute;
    right: 75%;
    line-height: 1em;
}

.parent-pageid-10 td:first-child {
	width: 40%;
}

.parent-pageid-10 td:first-child:after {
	right: 60%;
}

.device-mobile tr {
    display: grid;
}

.device-mobile td:first-child {
    width: 100%;
    padding-bottom: 0 !important;
}


/* caption */

.parent-pageid-24 .wp-block-embed {
    display: grid;
}

.parent-pageid-24 .wp-element-caption {
    font-size: 1rem;
    text-align: left;
    margin: 0 0 0.5em !important;
    order: 1;
}

.parent-pageid-24 .wp-block-embed__wrapper {
    order: 2;
}

.wp-block-embed img {
    order: 2;
}


/* post */

.vk_posts:not(.vk_posts:has(.card)) {
	margin: 0;
	border-top: 1px dashed var(--wp--preset--color--vk-color-custom-2);
}

.vk_post:not(.card) {
	margin: 0 !important;
	padding: 1em !important;
	border-bottom: 1px dashed var(--wp--preset--color--vk-color-custom-2);
}

.vk_post:not(.card):has(a:hover) {
	background: #fff;
	transition: 0.3s;
}

.postListText {
	display: grid;
}

.postListText_date {
	font-size: 0.75em;
}

.postListText_title {
	font-size: 1.5em;
}

.entry-meta-data-list {
    display: none;
}


/* footer */

.breadcrumb {
    font-size: 0.65em;
}

.breadcrumb-list li:after {
    content: ">";
}

.fa-home {
    display: none;
}

.site-footer-copyright p {
    text-transform: uppercase;
}


/* rule */

body, #content,
.entry-content,
.post-content,
.page-content,
.post-excerpt,
.entry-summary,
.entry-excerpt,
.widget-area,
.widget,
.sidebar,
#sidebar,
footer,
.footer,
#footer,
.site-footer {
    font-family: "futura-pt", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif !important;
    letter-spacing: 0.05em;
}

body {
    --wp--preset--color--black: #231815 !important;
}

.localNavi>div>ul li a:hover, .localNavi>ul li a:hover, .widget .localNavi>div>ul li a:hover, .widget .localNavi>ul li a:hover, .widget_archive>div>ul li a:hover, .widget_archive>ul li a:hover {
    background: #fff !important;
}

figure.wp-block-image.is-style-vk-image-border img {
    border: 1px solid var(--wp--preset--color--vk-color-custom-3) !important;
}

:root {
    --vk-color-text-body: var(--wp--preset--color--vk-color-custom-1);
    --vk-color-text-link: var(--wp--preset--color--vk-color-custom-1);
    --vk-color-text-link-hover: #1e73be;
    --vk-color-text-header: var(--wp--preset--color--vk-color-custom-1);
    --vk-color-text-meta: var(--wp--preset--color--vk-color-custom-1);
    --vk-color-text-light: var(--wp--preset--color--vk-color-custom-1);
    --vk-color-border: var(--wp--preset--color--vk-color-custom-3);
    --vk-color-border-hr: var(--wp--preset--color--vk-color-custom-3);
    --vk-color-border-image: var(--wp--preset--color--vk-color-custom-3);
    --vk-color-border-form: var(--wp--preset--color--vk-color-custom-3);
		--vk-line-height: 2em;
		--vk-size-radius: 0;
		--vk-margin-element-bottom: 1em;
		--wp--preset--font-family--system-font: "futura-pt", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif !important;
}