/*
Template:ystandard
Theme Name:ystandard-child
Theme URI: https://wp-ystandard.com
Author: yosiakatsuki
Author URI: https://yosiakatsuki.net
Description:「自分色に染めた、自分だけのサイトを作る楽しさ」を感じてもらうために作った一風変わったWordPressテーマ「ystandard」の子テーマ
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/* カスタマイズCSS */

/* 共通 */
.container {
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}
.is-layout-flex {
	justify-content: center;
	margin: 0;
}
.ys-post__no-image,.archive__no-img {
	background-color: inherit;
	background: url(https://lep-bandkaraoke.jp/wp-content/uploads/2025/02/no_image_set_08.png);
	background-position: center;
	background-size: cover;
}
.ys-post__no-image .ys-icon,.archive__no-img .ys-icon {
	display: none!important;
}
h2 {
	font-size: 1.3rem;
}

/* ボタン */
.btn-1 .wp-block-button__link {
	background-color: transparent !important;
	background: #006036 !important;
	color: #ffffff;
}
.btn-1 .wp-block-button__link:hover {
	opacity: 0.7;
}

/* パンくず */
.breadcrumbs {
	background: linear-gradient(90deg, rgba(178,230,190,1) 20%, rgba(49,133,104,0.8) 100%);
	background: linear-gradient(90deg, rgb(76 120 86) 20%, rgb(21 89 66) 100%);
}
.breadcrumbs__list {
	margin: 0 auto;
	padding: 20px 30px;
	max-width: 1260px;
	font-size: 0.88rem;
	/*color: #222;*/
}
@media (max-width: 768px) {
	.breadcrumbs__list {
		padding: 20px 10px;
	}
}

/* ヘッダー */
.site-header {
	background-color: transparent;
	background: linear-gradient(90deg, rgba(178,230,190,1) 20%, rgba(49,133,104,0.8) 100%);
	background: linear-gradient(90deg, rgb(76 120 86) 20%, rgb(21 89 66) 100%);
	padding: 0px 30px 6px;
	/*box-shadow: 0 2px 16px 1px rgb(0 0 0 / 3%);*/
}
.home .site-header {
	padding: 0px 30px 6px;
	box-shadow: none;
}
.global-nav {
	background-color: transparent;
}
.global-nav__menu .menu-item-has-children:focus-within .sub-menu,.global-nav__menu .menu-item-has-children:hover .sub-menu {
	padding: 10px 6px;
	top: 103%;
	left: -50%;
	background-color: #fff;
	border-radius: 10px;
	opacity: 1;
	box-shadow: 1px 1px 3px 2px rgb(0 0 0 / 7%);
}
.global-nav,.global-nav__menu .menu-item-has-children .sub-menu {
	font-size: 0.95rem;
}
.global-nav__menu .sub-menu a {
	padding: 0.8em 1.3em;
}
.global-nav__search {
	background: linear-gradient(90deg, rgba(178,230,190,1) 20%, rgba(49,133,104,0.8) 100%);
	background: linear-gradient(90deg, rgb(76 120 86) 20%, rgb(21 89 66) 100%);
}
input:focus-visible {
	outline: none;
}
.global-nav__toggle.is-open {
	/*color: #222;*/
}
@media (min-width: 769px) {
	.header-type--row1 .site-branding {
		padding: 0;
	}
}
@media (max-width: 1024px) {
	.home .site-header {
		padding: 10px;
	}
	.global-nav__search {
		border: 1px solid #222;
		background-color: rgba(227 232 249 / 0.95);
	}
	.global-nav__menu>.menu-item>a,.global-nav__menu .sub-menu a {
		/*color: #222;*/
	}
	.global-nav__toggle.is-open+.global-nav {
		background: linear-gradient(90deg, rgba(178,230,190,1) 20%, rgba(49,133,104,1) 100%);
		background: linear-gradient(90deg, rgb(76 120 86) 20%, rgb(21 89 66) 100%);
	}
	.global-nav__search .search-form {
		color: #222;
	}
	.global-nav__menu .menu-item-has-children:focus-within .sub-menu,.global-nav__menu .menu-item-has-children:hover .sub-menu {
		position: static;
	}
	.global-nav__menu .menu-item-has-children:hover .sub-menu {
		padding: 0;
		background-color: transparent;
		box-shadow: none;
	}
	.global-nav__menu .sub-menu a {
    padding: 0.6em 0;
	}
}

/* スライダ―（メイン画像、メイン動画） */
div#n2-ss-2 .n2-ss-layer-row {
	border-radius: 10px;
	object-fit: cover;
}
.n2-ss-text > br.sp {
	display: none;
}
.spacer-1 {
	position: relative;
	background: linear-gradient(90deg, rgba(178,230,190,1) 20%, rgba(49,133,104,0.8) 100%);
	background: linear-gradient(90deg, rgb(76 120 86) 20%, rgb(21 89 66) 100%);
	z-index: 1;
}
.spacer-2,.n2_clear {
	background: linear-gradient(90deg, rgba(178,230,190,1) 20%, #5b9e87 100%);
	background: linear-gradient(90deg, rgb(76 120 86) 20%, rgb(21 89 66) 100%);
}
div#n2-ss-2 .n2-ss-layer-row, div#n2-ss-2 .n2-ss-layer-row,div#n2-ss-2 .n2-ss-layer-row {
	position: relative;
}
div#n2-ss-2 .n2-ss-layer-row:before, div#n2-ss-2 .n2-ss-layer-row:before,div#n2-ss-2 .n2-ss-layer-row:before {
	content: "";
	position: absolute;
	left: -30px;
	top: -20px;
	width: 96px;
	height: 115px;
	background: url(https://lep-bandkaraoke.jp/wp-content/uploads/2025/01/main_circle_purple.png) no-repeat;
  background-size: contain;
	z-index: 3;
}
div#n2-ss-2 .n2-ss-layer-row:after, div#n2-ss-2 .n2-ss-layer-row:after,div#n2-ss-2 .n2-ss-layer-row:after {
	content: "";
	position: absolute;
	right: -30px;
	top: 320px;
	width: 48px;
	height: 50px;
	background: url(https://lep-bandkaraoke.jp/wp-content/uploads/2025/01/main_circle_green.png) no-repeat;
  background-size: contain;
	z-index: 3;
}
div#n2-ss-2 .slider-font-2,div#n2-ss-2 .slider-font-3 {
	border-left: 6px solid rgb(208 169 0 / 80%)!important;
}
div#n2-ss-2 .n2-ss-control-bullet {
	--widget-offset: -30px!important;
}
@media (max-width: 768px) {
	div#n2-ss-2 .n2-ss-layer-row,div#n2-ss-2 .n2-ss-layer-row,div#n2-ss-2 .n2-ss-layer-row {
		justify-content: flex-end;
		padding: 0 0 42px 0;
	}
	div#n2-ss-2 .n2-ss-layer-row,div#n2-ss-2 .n2-ss-layer-row,div#n2-ss-2 .n2-ss-layer-row,div#n2-ss-2 .n2-ss-layer-row {
		padding: 0;
	}
	.n2-ss-slider .n2-ss-slider-wrapper-outside, .n2-ss-slider .n2-ss-slider-wrapper-inside,div#n2-ss-2 .n2-ss-layer-row, div#n2-ss-2 .n2-ss-layer-row, div#n2-ss-2 .n2-ss-layer-row {
		height: 350px;
	}
	div#n2-ss-2 .n2-ss-layer-row,div#n2-ss-2 .n2-ss-layer-row,div#n2-ss-2 .n2-ss-layer-row {
		padding: 0 10px;
	}
	.spacer-1:after {
		top: 260px;
	}
	div#n2-ss-2 .n2-ss-slider-1 {
    min-height: 350px;
	}
	div#n2-ss-2 .slider-font-2 {
		font-size: 0.7em;
	}
	div#n2-ss-2 .slider-font-3 {
		font-size: 0.9em;
	}
	div#n2-ss-2 .n2-ss-button-container a div {
		font-size: 0.9rem;
	}
	.spacer-2 {
		height: 60px!important;
	}
	div#n2-ss-2 .n2-ss-layer-row:before, div#n2-ss-2 .n2-ss-layer-row:before,div#n2-ss-2 .n2-ss-layer-row:before {
		left: -10px;
	}
	div#n2-ss-2 .n2-ss-layer-row:after, div#n2-ss-2 .n2-ss-layer-row:after,div#n2-ss-2 .n2-ss-layer-row:after {
		right: -10px;
		top: 220px;
	}
	div#n2-ss-2 .slider-font-2,div#n2-ss-2 .slider-font-3,div#n2-ss-2 .slider-font-3 div {
		max-width: 100%;
		width: 100%!important;
		box-sizing: border-box;
	}
	div#n2-ss-2 .n2-ss-layer,div#n2-ss-2 .n2-ss-layer,div#n2-ss-2 .n2-ss-layer,div#n2-ss-2 .n2-ss-layer {
		display: flex;
		justify-content: center;
		width: 100%!important;
	}
	div#n2-ss-2 .n2-ss-text img {
		width: 60px!important;
		height: 60px!important;
	}
}
@media (max-width: 560px) {
	div#n2-ss-2 .slider-font-2 .n2-style-f8293b450b12ef15d5c4ff97a617a3e3-heading {
		font-size: 1.4rem;
	}
	div#n2-ss-2 .n2-ss-layer-row:before, div#n2-ss-2 .n2-ss-layer-row:before,div#n2-ss-2 .n2-ss-layer-row:before {
		display: none;
	}
	div#n2-ss-2 .n2-ss-layer-row:after, div#n2-ss-2 .n2-ss-layer-row:after, div#n2-ss-2 .n2-ss-layer-row:after {
		display: none;
	}
	.n2-ss-text > br.sp {
	    display: block;
    }
}

/* トップページ */
.circle-1 {
	margin: 20px 0 30px;
}
.circle-1-intro {
	width: 70px;
	margin: 10px auto;
}
.circle-2 {
	position: relative;
	z-index: 1;
}
.circle-2:before {
	content: "";
	position: absolute;
	left: -60px;
	top: 0;
	width: 246px;
	height: 253px;
	background: url(https://lep-bandkaraoke.jp/wp-content/uploads/2025/01/welcome_circle_purple.png) no-repeat;
	z-index: -1;
}
.circle-2:after {
	content: "";
	position: absolute;
	right: -40px;
	top: -79px;
	width: 85px;
	height: 82px;
	background: url(https://lep-bandkaraoke.jp/wp-content/uploads/2025/01/welcome_circle_green.png) no-repeat;
	z-index: -1;
}
.posi-re {
	position: relative;
	z-index: 1;
	font-size: 18px;
}
.ys-posts__title {
	font-size: 0.9rem;
}
.sec-welcome {
	max-width: 920px;
	margin: 0 auto;
	padding: 0 30px;
}
.lep-intro {
	max-width: 1260px;
	margin: 0 auto;
}
.sec-info {
	position: relative;
	max-width: 1260px;
	margin: 0 auto;
	padding: 0 30px;
	z-index: 1;
}
.sec-info:before {
	content: "";
	position: absolute;
	right: -100%;
	top: 200px;
	width: 200%;
	height: calc(100% - 150px);
	margin-right: -30px;
	background: #fff;
	border-radius: 10px 0 0 10px;
	z-index: 0;
	box-shadow: 0 0 2px 0 #00000042;
}
.sec-info:after {
	content: "";
	position: absolute;
	left: -36%;
	top: 100px;
	width: 114%;
	height: calc(100% + 50px);
	background: linear-gradient(90deg, rgba(178,230,190,1) 20%, rgba(49,133,104,0.8) 100%);
	background: linear-gradient(90deg, rgb(76 120 86) 20%, rgb(21 89 66) 100%);
	border-radius: 10px;
	z-index: -1;
}
.sec-message {
	max-width: 1020px;
	margin: 0 auto;
	padding: 0 30px;
}
.sec-message .wp-block-media-text__media img {
	border-radius: 6px;
}
.ys-posts.is-card {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 30px;
}
.ys-posts__list {
	/*gap: 40px;*/
}
.ys-posts.is-card .ys-posts__thumbnail,.archive__thumbnail {
	display: block;
	margin: 0 auto;
	max-width: 228px;
	border-radius: 50%;
}
.ys-posts.is-card .ys-posts__thumbnail,.ratio .ratio__item,.ratio .ratio__image img {
	aspect-ratio: 1 / 1;
	border-radius: 50%;
}
.ys-posts.is-card .ys-posts__text>:first-child {
	margin-top: 10px;
}
.live-kotoba {
	justify-content: center;
	gap: 60px;
	padding: 0 30px;
	background: url(https://lep-bandkaraoke.jp/wp-content/uploads/2025/11/top_slider_02.jpg) no-repeat;
	background-position: 50% 35%;
	background-size: cover;
}
.live-kotoba .wp-block-column {
	max-width: 570px;
	width: 100%;
	background-color: transparent;
	background: rgb(255 255 255 / 0.94);
}
.ys-posts__meta .ys-icon,.archive__meta .ys-icon {
	display: none;
}
.ys-posts__cat,.archive__category {
	padding: 1px 12px;
    background: #e8e8e8;
    border-radius: 20px;
    color: #222;
}
@media (min-width: 960px) {
	.ys-posts__list.col-tablet--4>* {
		/*--ystd-posts-item-width: calc((100% - 120px) / 4);*/
	}
}
@media (max-width: 960px) {
	.ys-posts__list.col-tablet--4>* {
		/*--ystd-posts-item-width: calc((100% - 80px) / 3);*/
	}
	.lep-intro {
	    gap: 0;
    }
}
@media (max-width: 768px) {
	.n2-ss-text {
		font-size: 16px!important;
	}
	div#n2-ss-2 .n2-ss-layer-row {
        padding: 0px 20px 0px 20px !important;
    }
	.home h2 {
		font-size: 22px!important;
	}
	.sec-welcome h2 {
		margin-top: 40px!important;
	}
	.sec-welcome,.sec-info,.ys-posts.is-card {
		padding: 0 10px;
	}
	.sec-info:before {
		top: 120px;
		height: calc(100% - 80px);
		margin-right: -10px;
	}
	.sec-info:after {
		top: 60px;
		height: calc(100% + 40px);
	}
	.sec-info h2 {
		margin-top: 152px!important;
	}
	.circle-1-intro {
	    margin: 10px auto !important;
    }
	.circle-2:before {
		top: 80px;
		width: 150px;
		height: 154px;
		background-size: contain;
	}
	.ys-posts__list.col-tablet--4>* {
		/*--ystd-posts-item-width: calc((100% - 40px) / 2);*/
	}
	.spacer-3 {
		height: 100px!important;
	}
	.live-kotoba {
		gap: 40px;
		margin-top: 60px!important;
		padding: 50px 10px!important;
	}
	.live-kotoba .wp-block-column {
		padding: 40px 10px!important;
		max-width: 100%;
	}
	.live-kotoba p {
		margin-bottom: 30px!important;
	}
	.circle-1 {
        margin: 12px 0 22px;
	}
	.posi-re {
        font-size: 16px;
    }
	.posi-re > br.sp {
	    display: none;
    }
}
@media (max-width: 414px) {
	.ys-posts__list {
		justify-content: center;
		gap: 40px;
	}
	.ys-posts__list.col-tablet--4>* {
		--ystd-posts-item-width: 100%;
	}
    div#n2-ss-2 .n2-ss-layer-row {
        padding: 0px !important;
    }
}

/* 固定ページ */
body:not(.home) .site-header-thumbnail img {
	max-height: 250px;
	object-position: 50% 30%;
	filter: brightness(0.7); /* 明度を設定 */
}
body.postid-1647 .site-header-thumbnail img {
	object-position: 50% 60%;
}
body.postid-1649 .site-header-thumbnail img {
	object-position: 50% 48%;
}
body.postid-1718 .site-header-thumbnail img {
	object-position: 50% 50%;
}
body:not(.home) .site-content {
	padding: 0 30px 80px;
	margin: 0;
	background: linear-gradient(90deg, rgba(178,230,190,1) 20%, rgba(49,133,104,0.8) 100%);
	background: linear-gradient(90deg, rgb(76 120 86) 20%, rgb(21 89 66) 100%);
}
body:not(.home) .content__wrap {
	max-width: 1200px;
	margin: 0 auto;
}
body:not(.home) .content__main {
	background-color: transparent;
}
body:not(.home) .singular-article {
	padding: 0;
	border-radius: 10px;
	background: #fff;
	height: fit-content;
}
.singular-header__title,.archive__page-title {
	position: relative;
	margin-bottom: 62px;
	font-size: 1.65rem;
	text-align: center;
}
.singular-header__title:after,.archive__page-title:after {
	content: "";
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%);
	width: 150px;
	height: 3px;
	background: #006036;
}
.page-template .singular-header__meta {
	display: none;
}
body:not(.home) .archive__main,
body:not(.home) .content__main {
	padding: 40px 20px;
	margin: 0;
	height: fit-content;
	background: #fff;
	border-radius: 10px;
}
body:not(.home) .content__main {
	padding: 40px 40px;
}
.ratio .ratio__item {
	position: static;
}
.ratio:before {
	display: none;
}
.entry-content {
	margin-top: 0;
	margin-bottom: 0;
}
.page-id-25 .singular__footer,.page-id-27 .singular__footer {
	display: none;
}
body:not(.home).has-sidebar .site-content {
	background: none;
}
.map-image img {
    height: 455px;
    object-fit: cover;
}
.contact-box .ystdb-columns {
	gap: 20px;
}
@media (min-width: 1025px) {
	.has-sidebar .archive__item.is-card {
		--ystd-archive-item-width: calc((100% - 80px) / 3);
	}
	.has-sidebar .archive__main {
		padding: 40px 20px;
		margin: 0 0 80px;
		height: fit-content;
		background: #fff;
		border-radius: 10px;
	}
	body:not(.home) .content__main,.has-sidebar .content__main {
		max-width: 100%;
	}
	.ys-posts__list.col-pc--5>* {
		/*--ystd-posts-item-width: calc((100% - 80px) / 5);*/
	}
}
@media (max-width: 768px) {
	.site-header {
		padding: 10px;
	}
	body:not(.home) .site-content {
		padding: 0 10px 60px;
	}
	.singular-header__title,.archive__page-title {
		margin-bottom: 50px;
		font-size: 22px;
	}
	.singular-header__title:after,.archive__page-title:after {
		bottom: -24px;
	}
	body:not(.home) .site-header-thumbnail img {
		height: 160px;
		object-fit: cover;
	}
	.has-sidebar .sidebar__fixed>:first-child,.has-sidebar .sidebar__widget>:first-child {
		margin-top: 50px;
	}
	body:not(.home) .content__main,body:not(.home) .archive__main {
		padding: 40px 10px;
	}
	body:not(.home) .page-template-template-one-column-wide .content__main {
		padding: 40px 10px;
	}
	.access-map {
    	max-height: 100%;
    	overflow: auto;
    }
	.staff-txt h3 {
		font-size: 16px;
	}
	.staff-txt p {
		font-size: 12px;
	}
	.staff-1clm .ystdb-columns {
        display: flex;
        flex-wrap: wrap;
	    flex-direction: column-reverse;
	    align-items: center;
    }
	.staff-1clm .ystdb-column[style*="--ystdb-width-tablet"],
	.staff-1clm .ystdb-column .has-2-columns--tablet {
        width: 100% !important;
    }
	.staff-1clm .ystdb-column img {
		margin: 0 auto !important;
    }
}

/* ヘッダーを表示するページ */
body:not(.page):not(.blog):not(.postid-1649):not(.postid-1647):not(.postid-1718) .site-header-thumbnail {
	display: none;
}

/* systemページ */
.system-img-1 img {
	height: 368px;
	object-fit: cover;
}
.system-img-2 img {
	height: 317px;
	object-fit: cover;
}
.system-img-3 img {
	height: 371px;
	object-fit: cover;
}
.system-img-4 img {
	height: 371px;
	object-fit: cover;
}
@media (max-width: 768px) {
	.system-img-1 img, .system-img-2 img, .system-img-3 img, .system-img-4 img {
		height: auto;
	}
}

/* menuページ */
.is-menu * {
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
}
.is-menu {
	margin-top: 0 !important;
}
.is-menu table tbody td {
	border-bottom: 1px dashed #666 !important;
}
.is-menu table tbody td > span {
	display: block;
	font-size: 12px;
}
@media (max-width: 800px) {
	.postid-1649 .has-xx-large-font-size {
		font-size: 22px !important;
	}
	.postid-1649 h3 {
		font-size: 16px;
	}
	.is-menu table {
		font-size: 15px;
	}
	.is-menu table tbody tr {
		display: flex;
		flex-wrap: wrap;
	}
	.is-menu table tbody td{
		width: 50% !important;
	}
}

/* カテゴリーページ（投稿一覧ページ含む） */
.singular-header__meta {
	margin-bottom: 20px;
}
.archive .archive__page-title {
	margin-bottom: 70px;
}
.archive__item.is-list .archive__detail {
    width: 90%;
	margin: 0 auto;
}
.archive__item {
	border-bottom: none;
}
.archive__title {
	background-color: inherit;
	font-size: 16px;
}
.archive__container.is-card {
	flex-wrap: wrap;
	flex-direction: row;
	gap: 50px 40px;
}
.archive__excerpt {
	/*display: none;*/
}
body:not(.home).blog .site-content {
	padding: 0 30px 80px;
}
.paging__image {
	display: none;
}
.paging__container {
	gap: 40px;
}
.post-related__title {
	margin: 0 0 40px;
	border-bottom: 1px solid #e5e5e5;
	padding-bottom: 10px;
}
.paging {
	margin-top: 50px!important;
	padding-top: 20px;
	border-top: 1px solid #e5e5e5;
}
@media (min-width: 600px) {
	.paging__item {
		flex: inherit;
		width: calc(100% / 2);
		margin-top: 0;
	}
	.ys-posts__list.col-tablet--3>* {
		/*--ystd-posts-item-width: calc((100% - 80px) / 3);*/
	}
}

@media (max-width: 1024px) {
	.archive__item.is-card {
		--ystd-archive-item-width: calc((100% - 80px) / 3);
	}
}
@media (max-width: 768px) {
	.archive__item.is-card {
		--ystd-archive-item-width: calc((100% - 40px) / 2);
	}
	body:not(.home).blog .site-content {
		padding: 0 10px 60px;
	}
}
@media (max-width: 560px) {
	.archive__item.is-card {
		--ystd-archive-item-width: 100%;
	}
}

/* サイドバー */
.sidebar {
	margin: 0;
}
.sidebar__fixed>:first-child, .sidebar__widget>:first-child {
	padding: 0 0 44px;
	margin-top: 45px;
	background: #fff;
	border-radius: 10px 10px 0 0;
}
.sidebar__fixed>*, .sidebar__widget>* {
	padding: 0 0 40px;
	margin-top: 0;
	background: #fff;
}
.sidebar .wp-block-heading {
	width: 98%;
	top: -19px;
	margin-top: 0;
	padding: 6px 20px;
	background: #988ede;
	color: #fff;
	border-radius: 10px 30px 10px 10px;
	box-shadow: 9px 4px 1px 1px rgb(216 225 255);
}
.sidebar .wp-block-search__button-inside,.sidebar .wp-block-latest-posts.wp-block-latest-posts__list,.sidebar ul.wp-block-archives-list,.sidebar .wp-block-categories-list  {
	padding: 0 10px;
}
.sidebar .widget_block:last-child {
	border-radius: 0 0 10px 10px;
}
.sidebar .wp-block-archives a:before,.sidebar .wp-block-archives-list a:before,.wp-block-categories-list a:before, .wp-block-categories__list a:before {
	display: none;
}
.sidebar .wp-block-latest-posts.wp-block-latest-posts__list li:last-child {
	border-bottom: none;
}
.sidebar .wp-block-latest-posts.wp-block-latest-posts__list li {
	margin-bottom: 0;
	padding: 1em 0;
}
.sidebar .wp-block-latest-posts.wp-block-latest-posts__list .post-link {
	display: block; /* aタグをブロック要素化 */
}
.sidebar .wp-block-latest-posts.wp-block-latest-posts__list .post-link:hover {
	opacity: 0.8; /* 例: hover時に透明度を変更 */
}
.box-latest-posts {
	display: flex;
	gap: 10px;
}
.wp-block-latest-posts__post-title {
	display: block;
	margin: 10px 0 0;
	width: calc(100% - 78px);
	font-size: 0.95rem;
}
.wp-block-latest-posts__featured-image {
	margin: 0 auto;
	width: 70px;
}
.wp-block-latest-posts__featured-image img {
	display: block;
	max-width: 100%;
	object-fit: cover;
	object-position: 49% 50%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
}
.no-img .wp-block-latest-posts__post-title{
  width: 100%;
}
@media (min-width: 1025px) {
	.sidebar__fixed {
		top: calc(var(--fixed-sidebar-top) + 20px);
	}
}
@media (max-width: 1024px){
	.wp-block-latest-posts.wp-block-latest-posts__list .wp-block-latest-posts__featured-image {
    margin: 0;
	}
}
@media (max-width: 768px) {
	.sidebar .wp-block-search__button-inside,.sidebar .wp-block-latest-posts.wp-block-latest-posts__list,.sidebar ul.wp-block-archives-list {
		padding: 0 10px;
	}
	.sidebar .wp-block-categories-list {
		padding: 0 10px;
	}
	.sidebar__fixed>*, .sidebar__widget>* {
		padding: 50px 0 0;
	}
	.sidebar__fixed>:first-child, .sidebar__widget>:first-child {
		padding: 0;
	}
	.sidebar .wp-block-latest-posts.wp-block-latest-posts__list li:last-child {
		padding: 0;
	}
}

/* 検索結果ページ、404ページ */
body:not(.home).search .content__main,body:not(.home).error404 .content__main {
	padding: 40px 20px;
	height: fit-content;
	background-color: #fff;
	border-radius: 10px;
}
body.error404,
body.search {
    background: linear-gradient(90deg, rgb(76 120 86) 20%, rgb(21 89 66) 100%);
}
body.error404 > .site-footer {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
}
@media (max-width: 376px) {
	body:not(.home).search .content__main,body:not(.home).error404 .content__main {
	    padding: 20px 20px;
    }
}

/* フッター */
.home .sns-share:not(.is-official) {
	display: none;
}
.footer-main {
	padding-top: 0;
	background-color: transparent;
	background: linear-gradient(90deg, rgba(178,230,190,1) 20%, rgba(49,133,104,0.8) 100%);
	background: linear-gradient(90deg, rgb(76 120 86) 20%, rgb(21 89 66) 100%);
}
.footer-nav__menu {
	margin-top: 30px;
}
.footer-main>* {
	margin-top: 10px;
}
.footer-poweredby {
	display: none;
}
.footer-sub {
	background-color: #fff;
}
.under-bnr {
	gap: 40px;
	padding: 0 30px;
	margin: 0 auto;
	max-width: 1060px;
	background: #fff;
}
.under-bnr a:hover {
	opacity: 0.7;
}
.under-bnr img {
	border: 1px solid #d9d9d9;
}
.singular__footer>* {
	margin-top: 40px;
}
@media (max-width: 768px) {
	.under-bnr {
		gap: 20px;
		padding: 0 10px;
	}
	.footer-sub {
		padding-top: 60px!important;
		padding-bottom: 60px!important;
	}
	.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column {
		flex-basis: calc((100% / 2) - 40px);
		max-width: calc(100% / 2);
	}
	.wp-block-columns.is-not-stacked-on-mobile {
		flex-wrap: wrap!important;
	}
	.wp-block-search__inside-wrapper {
		width: 90% !important;
	}
}

/* 戻るボタン */
@media (max-width: 768px) {
	#back-to-top {
		bottom: 2vh;
		right: 2vh;
	}
}

/* メイン動画用 */
.main-movie {
	width: 100%;
	max-width: 100%;
	background: linear-gradient(90deg, rgba(178,230,190,1) 20%, rgba(49,133,104,0.8) 100%);
	background: linear-gradient(90deg, rgb(76 120 86) 20%, rgb(21 89 66) 100%);
}
.main-movie iframe {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	width: calc(100% - 60px);
	border-radius: 10px;
	height: 400px;
	object-fit: cover;
}
@media (max-width: 1024px) {
	.main-movie iframe {
		width: calc(100% - 20px);
	}
}
@media (max-width: 768px) {
	.main-movie iframe {
		height: 350px;
	}
}

/* リスト表示用 */
.archive .ratio .ratio__item,.archive .ratio .ratio__image img,.blog .ratio .ratio__item,.blog .ratio .ratio__image img,.search .ratio .ratio__item,.search .ratio .ratio__image img {
	aspect-ratio: 2 / 1;
	border-radius: 10px;
}
.archive__item.is-list {
	padding-bottom: 26px;
}
/*
トップページのショートコード　list typeをlistに切り替える
@media (min-width: 600px) {
	.ys-posts__list.col-tablet--4>* {
			--ystd-posts-item-width: 100%;
	}
	.ys-posts.is-list {
		padding: 30px;
	}
}
.ys-posts.is-card .ys-posts__thumbnail, .ratio .ratio__item {
	aspect-ratio: 2 / 1;
	border-radius: 10px;
}
.ys-posts__title {
	font-size: 1.1rem;
}
*/