/**
 * Template: snow-monkey
 * Theme Name: Snow Monkey Child
 */

.c-entry__body a {
		color: #333 !important;
	    text-decoration: none;
}
.single .c-entry__body a {
    color: #0370C4 !important;
}
.c-entry__body a:hover {
    opacity: 0.6;
	 transition: opacity 0.3s !important;
}

.l-footer .wp-block-social-links .wp-social-link a {
    padding: 10px;
}
.l-footer .wp-block-social-links .wp-social-link a svg {
    transform: scale(1.5);
}

.c-widget.widget_block.widget_recent_entries a {
	color: var(--accent-color,#cd162c) !important;
}
.wp-block-latest-posts__list.wp-block-latest-posts a {
	color: var(--accent-color,#cd162c) !important;
}

/* ========================================
TOPページ上部の余白を削除
======================================== */
#front-page-top-content {
    margin-right: calc(50% - 50vw) !important;
    margin-left: calc(50% - 50vw) !important;
}
#front-page-top-content .spider__canvas {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ========================================
TOPページスライダー
======================================== */
.p-top-slider .smb-spider-contents-slider__item {
    width: 100% !important;
    height: 100% !important;
}
.p-top-slider h1 {
    padding: 0;
    margin: 0 0 25px;
    font-size: 58px;
}
@media screen and (max-width: 767px)
{
    .p-top-slider h1 {
        margin: 0 0 25px;
        font-size: 32px;
        line-height: 1.5;
    }
}
.p-top-slider p {
    font-size: 29px;
    display: inline-block;
}
@media screen and (max-width: 767px)
{
    .p-top-slider p {
        font-size: 20px;
    }
}

/* ========================================
TOPページ - バナー
======================================== */
.home .top-bnr a {
    position: relative;
    padding: 0;
    padding-bottom: 66%;
    overflow: hidden;
    border-radius: 13px;
    display: block;
    color: #FFF !important;
}
.home .top-bnr a smb-section__body {
    display: none;
}
.home .top-bnr a .smb-section__title {
    font-size: 26px;
}
.home .top-bnr a .smb-section__title::after {
    display: none;
}
.home .top-bnr a .smb-section__lede-wrapper {
    margin-top: 10px;
}
.home .top-bnr a .smb-section__lede {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
}
.home .top-bnr a .smb-section-with-bgimage__bgimage.smb-section-with-bgimage__bgimage--lg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.home .top-bnr a .smb-section-with-bgimage__bgimage.smb-section-with-bgimage__bgimage--lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}
.home .top-bnr a .smb-section__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
ヘッダー
======================================== */
.p-global-nav .c-navbar__item>a {
    padding: calc(var(--_space, 1.8rem) * .65) 8px;
}
.p-global-nav .c-navbar__item:first-child a {
    padding-left: 0 !important;
}
.p-global-nav .c-navbar__item:last-child a {
    padding-right: 0 !important;
}

/* 検索アイコン部分 */
.l-header {
    background: #0370C4;
}
@media screen and (min-width: 1024px)
{
    .l-header__content {
        display: flex;
        align-items: stretch;
    }
    .l-1row-header {
        width: calc(100% - 62px);
    }
    .l-header__content-search {
        width: 62px;
        border-left: 1px solid #FFF;
    }
    .p-header-search {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        font-size: 20px;
        cursor: pointer;
    }
}
@media screen and (max-width: 1023px)
{
    .l-header__content-search {
        display: none;
    }
}

/* 検索窓部分 */
.l-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.8);
    opacity: 0;
    pointer-events: none;
}
.l-search-modal__close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 30px;
    color: #FFF;
    cursor: pointer;
}
.p-search-window {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 600px;
    max-width: 60vw;
    height: 96px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.p-search-window input {
    -webkit-appearance: none;
    border: 0;
    border-radius: 0;
    background-color: transparent;
}
.p-search-window__input {
    padding: 0.8em 3em 0.8em 1.5em;
    width: calc(100% - 96px);
    font-size: 30px !important;
    color: #FFF;
}
.p-search-window__input::placeholder {
    color: #FFF;
    font-size: 30px !important;
}
.p-search-window__submit {
    position: relative;
    color: #FFF;
    width: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}
.p-search-window__submit input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* ========================================
サイドバー
======================================== */
.l-sidebar-widget-area h2 {
    font-size: 12px;
    word-break: break-word;
    padding: 0px 0px 27px 0px !important;
    margin: 0px 0px 27px 0px;
    border-left: none !important;
    background-color: transparent !important;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    margin-top: 0;
}

.wp-block-tag-cloud a {
    font-size: 11px !important;
    padding: 2px 5px 2px 5px;
    display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    margin: 0px 5px 9px 0px;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1;
    border-color: #eaeaea;
    text-decoration: none;
    color: #000;
    transition: color 0.3s;
}
.wp-block-tag-cloud a:before {
    content: none;
}
.wp-block-tag-cloud a:hover {
    color: #0370C4;
}

/* ========================================
Crayon
======================================== */
.crayon-syntax .crayon-table td, .crayon-syntax .crayon-table tr {
	background: rgb(30,49,33) !important;
}
.crayon-theme-obsidian .crayon-table .crayon-nums {
	/* opacity: 0; */
	border: 0 !important;
}
.crayon-theme-obsidian .crayon-table .crayon-nums {
		background: none !important;
}
html body .crayon-theme-obsidian .crayon-striped-line {
	background: transparent !important;
}
.crayon-theme-obsidian .crayon-striped-line {
	background: none !important;
}
.crayon-syntax .crayon-pre, .crayon-syntax pre {
	padding: 0 !important;
}

/* ========================================
記事一覧
======================================== */
.p-posts {
    background: #F7F7F7;
    padding: 36px;
}
@media screen and (max-width: 767px)
{
    .p-posts {
        padding: 0px;
        background: transparent;
    }
}
.p-posts li {
    padding: 18px;
    background: #FFF;
    border: 1px solid #eaeaea;
    display: block;
    width: 100%;
}
.p-posts li:not(:first-child) {
    margin-top: 36px;
}
.p-posts h2 a {
    font-size: 29px;
    color: #000 !important;
    transition: color 0.3s;
}
@media screen and (max-width: 767px)
{
    .p-posts h2 a {
        font-size: 20px;
        line-height: 1.4;
        padding-bottom: 6px;
    }
}
.p-posts h2 a:hover {
    color: #0370C4;
}
.p-posts .wp-block-post-date {
    font-size: 12px;
}
.p-posts .wp-block-post-excerpt__excerpt {
    font-size: 18px;
}
@media screen and (max-width: 767px)
{
    .p-posts .wp-block-post-excerpt__excerpt {
        font-size: 14px;
        margin-top: 10px;
    }
}
.p-posts .wp-block-query-pagination {
    margin-top: 36px;
    justify-content: space-between;
}
.p-posts .wp-block-query-pagination-next,
.p-posts .wp-block-query-pagination-previous {
    position: relative;
    color: transparent !important;
    width: 74px;
    margin: 0;
}
.p-posts .wp-block-query-pagination-next::after,
.p-posts .wp-block-query-pagination-previous::after {
    content: ">";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
}
.p-posts .wp-block-query-pagination-previous::after {
    content: "<";
}
.p-posts .wp-block-query-pagination-numbers {
    width: calc(100% - 148px - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.p-posts .wp-block-query-pagination-numbers:first-child {
    margin-left: auto;
}
.p-posts .wp-block-query-pagination-numbers:last-child {
    margin-left: 0;
    margin-right: auto;
}

/* ========================================
記事詳細ページ
======================================== */
.single .c-entry__footer {
    display: none;
}

.single .wp-profile-box {
    display: none;
}

.single .p-entry-content h1 {
    margin-top: 25px;
}

.single .p-entry-content h2 {
    font-size: 29px;
    line-height: 1.2;
    margin: 27px 0 0;
    padding: 0;
    background: none;
    border: none;
}

.single .p-entry-content p {
    margin-top: 18px;
}

.single .p-entry-content ul {
    margin-top: 18px;
}

/* ========================================
ページネーション
======================================== */
.home .wp-block-query-pagination-numbers span,
.home .wp-block-query-pagination-numbers a {
    display: block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    margin-top: 4.5px;
    margin-bottom: 4.5px;
    border-radius: 50%;
    color: #333333 !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home .wp-block-query-pagination-numbers span.current {
    background-color: #eeeeee;
}
@media screen and (max-width: 1023px)
{
    .home .wp-block-query-pagination {
        justify-content: center;
    }
    .home .wp-block-query-pagination-numbers {
        width: auto !important;
    }
    .home .wp-block-query-pagination-numbers a,
    .home .wp-block-query-pagination-numbers span {
        width: 30px;
        height: 30px;
    }
    .home .wp-block-query-pagination-previous,
    .home .wp-block-query-pagination-next {
        width: 30px;
        height: 30px;
        margin-top: -8px;
    }
}

/* ========================================
フッター
======================================== */
.l-footer__footer {
    background-color: #EAEAEA !important;
    padding-bottom: 100px !important;
}


.l-footer-widget-area__item.c-row__col.c-row__col--1-1.c-row__col--md-1-1.c-row__col--lg-1-1:first-child {
    margin-bottom: 10px;
    margin-top: -30px;
}
@media screen and (max-width: 1023px)
{
    .l-footer-widget-area__item.c-row__col.c-row__col--1-1.c-row__col--md-1-1.c-row__col--lg-1-1:first-child {
        margin-top: -20px;
    }
}
.l-footer-widget-area__item.c-row__col.c-row__col--1-1.c-row__col--md-1-1.c-row__col--lg-1-1:last-child {
	padding-top: 100px;
	background: #EAEAEA;
	margin-bottom: 0;
	padding-bottom: 15px;
}
.l-footer-widget-area__item.c-row__col.c-row__col--1-1.c-row__col--md-1-1.c-row__col--lg-1-1:last-child {
    margin-bottom: 0;
    background: #EAEAEA;
	padding-bottom: 20px;
}
.l-footer-widget-area__item.c-row__col.c-row__col--1-1.c-row__col--md-1-1.c-row__col--lg-1-1:last-child a {
/* 	color: #333; */
	transition: opacity 0.3s;
}
.l-footer-widget-area__item.c-row__col.c-row__col--1-1.c-row__col--md-1-1.c-row__col--lg-1-1:last-child a:hover {
	opacity: 0.6;
}
.l-footer-widget-area__item.c-row__col.c-row__col--1-1.c-row__col--md-1-1.c-row__col--lg-1-1 .wp-social-link {
    width: 35px;
    background-color: #303133;
}

.l-footer-widget-area {
    background: #F7F7F7;
}

.l-footer .c-fluid-container {
    text-align: center;
}

/* ========================================
Related Posts
======================================== */
.l-related {
    margin-top: 60px;
}
.p-related-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    /* border-top: 1px solid #eee; */
}

.p-related {
    padding-left: 30px;
}
@media screen and (max-width: 767px)
{
    .p-related {
        padding-left: 0px;
    }
}
.p-related__item {
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    padding: 18px 0;
}
.p-related__item time {
    margin-right: 10px;
    font-size: 14px;
}
.p-related__item span {
    background-color: #0370C4;
    color: #FFF;
    border-radius: 999px;
    padding: 5px 18px;
    line-height: 1;
    font-size: 14px;
}
.p-related__item a {
    width: 100%;
    display: block;
    font-weight: 700;
    padding-top: 5px;
    text-decoration: none;
}
.p-related__item a:hover {
    text-decoration: underline;
}


/* ========================================
near-links
======================================== */
.p-near-link {
    background: #F7F7F7;
    padding: 27px 36px 27px 36px;
    border-top: 1px solid var(--_lighter-color-gray,#eee);
}
.p-near-link__container {
	max-width: 1230px;
	margin: 0 auto;
	display: flex;
    justify-content: space-between;
}
.p-near-link a {
    text-decoration: none;
    font-weight: 700;
    color: #333;
}


/* ========================================
記事詳細ページのデザイン
======================================== */
.single .l-contents__body {
    background: #F5F6F6;
}

.single .l-contents__main .c-entry {
    background-color: #fff;
    padding: 20px;
}

.single .l-related {
    background-color: #fff;
    padding: 20px;
}

h1 {
    font-size: 32px;
}

p {
    font-size: 16px;
}

li {
    font-size: 16px;
}


.single .c-entry__body img {
	margin: 24px 0;
}

.single .c-entry__body h1 {
    font-size: 28.8px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 3px;
    margin-top: 63px;
    margin-bottom: 24px;
}

.single .c-entry__body h2 {
    font-size: 25.8px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 3px;
    margin-top: 63px;
    margin-bottom: 24px;
}

.single .c-entry__body h3 {
    font-size: 20px;
}

.single table {
    width: 100%;
    table-layout: fixed;
    word-break: break-all;
    word-wrap: break-all;
}

.is_top {
    display: none !important;
}
.home .is_top {
    display: block !important;
}

.is_single {
    display: none !important;
}
.single .is_single {
    display: block !important;
}

.is_archive {
    display: none !important;
}
.archive .is_archive {
    display: block !important;
}

.l-contents__sidebar select {
    width: 100%;
    height: 30px;
    margin-top: 0 !important;
}

.l-contents__sidebar .ttl {
    border-bottom: 1px solid #DDD;
    padding-bottom: 20px;
    margin-top: 60px;
}

.l-contents__sidebar .wp-block-archives-dropdown {
    margin-bottom: 50px;
}
.l-contents__sidebar .wp-block-archives-dropdown label {
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid #DDD;
    padding-bottom: 20px;
    margin-top: 60px;
    margin-bottom: 30px;
}


.single strong { font-weight: bold; }
.single em { font-style: italic; }
.single blockquote {
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 40px;
    -webkit-margin-end: 40px;
}
 
/* img */
 
.single .aligncenter {
    display: block;
    margin: 0 auto;
	margin-left: auto !important;
	margin-right: auto !important;
}
.single .alignright { float: right; }
.single .alignleft { float: left; }
 
.single img[class*="wp-image-"],
.single img[class*="attachment-"] {
    height: auto;
    max-width: 100%;
}
 
/* clearfix */
 
.single .clearfix {
    overflow: hidden;
    zoom: 1;
}
.single .clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.white {
	background: #FFF;
}

.single .l-sidebar-widget-area {
	display: none;
}

.home .l-sidebar-sticky-widget-area {
}

/* ========================================
アーカイブページ
======================================== */
.archive .c-entry-summary__figure {
	display: none;
}
@media screen and (min-width: 768px) {
.archive .c-entries__item>a .c-entry-summary__body {
    border: 1px solid #ddd;
    border-radius: 15px;
	overflow: hidden;
}
.archive .c-entry-summary__header {
	position: relative;
	overflow: hidden;
	height: 230px;
	border-bottom: 1px solid #ddd;
	padding: 30px 30px 25px;
}
.archive .c-entry-summary__header::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: rgba(2,112,196,0.2);
	transform: translate(-50%, -50%);
}
.archive .c-entry-summary__header::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 100px;
	height: 100px;
	background: rgba(210,87,112,0.2);
	transform: translate(50%, -50%) rotate(45deg);
}
.archive .c-entry-summary__title {
    font-size: 20px;
}
.archive .c-entry-summary__content {
	padding: 0 10px 0;
}
.archive .c-entry-summary__meta {
	padding-bottom: 10px;
}
}
@media screen and (max-width: 767px) {
	.archive {
		background: #f7f7f7;
	}
	.archive .c-entries {
		display: block;
	}
	.archive .c-entries__item {
		width: 100%;
		margin-right: 0;
		max-width: none;
		flex: auto;
		background: #FFF;
	}
	.archive .c-entry-summary__body {
		display: flex;
		flex-direction: column;
	}
	.archive .c-entry-summary__meta {
		justify-content: flex-start;
		order: 1;
	}
	.archive .c-entry-summary__header {
		order: 2;
	}
	.archive .c-entry-summary__content {
		order: 3;
	}
}


/* フッター */
.l-footer-widget-area__item.c-row__col.c-row__col--1-1.c-row__col--md-1-1.c-row__col--lg-1-1:first-child {
    margin-bottom: 10px;
    margin-top: -30px;
	display: none !important;
}
.l-footer-widget-area {
	padding-top: 0 !important; 
}


/* クレヨン */
html .crayon-theme-obsidian {
	background: #1d1d1d !important;
}
html .crayon-syntax .crayon-table td, .crayon-syntax .crayon-table tr {
	background: #1d1d1d !important;
}
html .crayon-theme-obsidian .crayon-pre .crayon-c {
	color: #669251 !important;
}
html .crayon-theme-obsidian .crayon-pre .crayon-i {
	color: #bb7389 !important;
}
html .crayon-theme-obsidian .crayon-pre .crayon-st {
	color: #39bea7 !important;
}
html .crayon-theme-obsidian .crayon-pre .crayon-t {
	color: #39bea7 !important;
}
html .crayon-theme-obsidian .crayon-pre .crayon-s {
	color: #c38971 !important;
}