/*
Template:ystandard
Theme Name:ystandard-shousin
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.
*/

:root{
	--my_light_orange:#ffe6e0;
	--my_orange:#ed421a;
	/*--ystd-content-default-width:1000px;*/
	--font_gothic:Avenir, "Segoe UI", YuGothic, "Yu Gothic Medium", sans-serif;
}
body:not(.wp-admin){
	--ystd-content-default-width:1000px;
}

h1, h2, h3, h4, h5, h6{
	font-family: "Yuji Syuku", serif;
	font-weight: 400;
}
.yuji_syuku {
	font-family: "Yuji Syuku", serif;
	font-weight: 400;
	font-style: normal;
}
.gothic{
	font-family: Avenir, "Segoe UI", YuGothic, "Yu Gothic Medium", sans-serif;
}
strong{
	font-weight: 700;
}

/* header */

@media (min-width: 769px){ /* PC */
	.global-nav__menu>.menu-item{
		width: 198px;
		margin-left: 10px;
	}
	.global-nav__menu>.menu-item>a{
		font-family: "Yuji Syuku", serif;
		font-weight: 400;
	}
	.global-nav__menu>.menu-item>a:after{
		height: 3px;
		left: calc(50% - 10px);
	}
	.global-nav__menu>.menu-item.current-menu-item>a,
	.global-nav__menu>.menu-item>a:hover{
		color: var(--link-text-hover);
	}
	.global-nav__menu>.menu-item.current-menu-item>a:after,
	.global-nav__menu>.menu-item>a:hover:after{
		width: 20px;
		background-color: var(--link-text-hover);
	}
	.global-nav__menu>.menu-item:hover,
	.global-nav__menu .menu-item-has-children a:focus+.sub-menu,
	.global-nav__menu .menu-item-has-children:hover .sub-menu{
		background-color: var(--my_light_orange);
	}
	.global-nav__menu .sub-menu{
		width: 100%;
		padding-top: 10px;
	}
	.global-nav__menu .sub-menu a{
		padding: 1em 1.2em 0.9em;
		font-weight: 700;
	}
	.global-nav__menu .sub-menu a:before{
		display: none;
	}
	.global-nav__menu .sub-menu li{
		border-top: #fff 1px solid;
	}
	.global-nav__menu .sub-menu li:first-child{
		border-top: none;
	}
}
@media (max-width: 768px){ /* sp */
	.global-nav__menu.is-open .sub-menu{
		border-left: #989898 1px solid;
	}
	.global-nav__menu .sub-menu a:before{
		content: '\25cf';
	}
}
@media (max-width: 599px){
	.global-nav{
		padding-top: 100px;
	}
}

/* common */

.container.rich_archive_header,
.site-content .container{
	max-width: calc(1000px + var(--ystd-container-gutter)*2);
}
body:not(.single-post) #breadcrumbs{
	display: none;
}
.entry-content .swiper-button-next,
.entry-content .swiper-button-prev{
	top: auto;
	bottom: 5%;
}
.entry-content .swiper-button-next:after,
.entry-content .swiper-button-prev:after{
	content: '';
	width: 30px;
	height: 30px;
	background-image: url(img/icon_sankaku_org.png);
	background-size: contain;
	background-repeat: no-repeat;
}
.entry-content .swiper-button-prev:after{
	transform: rotate(180deg);
}
.page .wp-lightbox-overlay .lightbox-image-container{
	width: 90% !important;
	height: 90% !important;
}
.page .wp-lightbox-overlay .wp-block-image img{
	width: 90% !important;
	height: 90% !important;
	object-fit: contain !important;
}
.page .wp-lightbox-overlay .scrim{
	background-color: rgba(0,0,0,0.8) !important;
}
.page .wp-lightbox-overlay .close-button{
	fill: #fff !important;
}
.page .wp-lightbox-overlay .close-button:hover{
	box-shadow: none;
	opacity: 0.5;
}
@media (max-width: 768px){
	.page .ystdtb-ratio .ystdtb-ratio__inner{
		overflow: visible;
	}
	.entry-content .swiper-button-next,
	.entry-content .swiper-button-prev{
		bottom: -50px;
	}
}


/* footer */

.footer-widget .wp-block-columns{
	margin-bottom: 0;
}
.footer-widget .wp-block-columns .wp-block-column:first-child{
	flex-basis: fit-content;
}
.footer-widget .wp-block-columns .wp-block-column:nth-child(2){
	flex-basis: calc(100% - 280px);
}
.footer-main .site-info{
	margin-top: 3em;
}

/* toppage */

.entry-content .wow:not(.complete){
	opacity: 0;
}

.ystdb-heading.has-subtext--top .ystdb-heading__text{
	font-size: 36px;
}
.ystdb-heading.has-subtext--top .ystdb-heading__subtext{
	font-size: 24px;
	display: flex;
	flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
}
.ystdb-heading.has-subtext--top .ystdb-heading__subtext::after{
	content: '\25cf';
	display: inline-block;
	font-size: 14px;
	margin-right: 4px;
}

.ys-posts.is-simple{
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}
.ys-posts.is-simple .ys-posts__meta,
.ys-posts.is-simple .ys-posts__meta .ys-posts__cat{
	font-size: 1em;
}
.ys-posts.is-simple .ys-posts__title{
	margin-top: 4px;
	padding-right: 20px;
}
.ys-posts.is-simple .ys-posts__meta .ys-posts__cat.category--news{
	background-color: var(--my_light_orange);
	color: #222;
	font-weight: 700;
}
.ys-posts.is-simple .ys-posts__meta .ys-posts__cat.category--exhibition{
	background-color: var(--my_orange);
	font-weight: 700;
	padding-right: 0.5em;
}
.ys-posts.is-simple .ys-posts__meta .ys-posts__cat.category--gallery{
	background-color: #222;
	font-weight: 700;
	padding-right: 0.5em;
}
.ys-posts.is-simple .ys-posts__item{
	border-bottom: #707070 1px solid;
	position: relative;
}
.ys-posts.is-simple .ys-posts__item:after{
	content: '';
	background-image: url(img/icon_sankaku.png);
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	width: 10px;
	height: 10px;
	position: absolute;
	right: 5px;
	top: calc(50% - 5px);
	transition: all 0.5s;
}
.ys-posts.is-simple .ys-posts__item:hover:after{
	right: 0;
}
.wp-block-cover + .wp-block-group{
	margin-top: 0;
}
.tategaki{
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
}
.entry-content h2.tategaki,
.entry-content h3.tategaki{
	margin-right: auto;
	margin-left: auto;
}
.tategaki.subline{
	flex-direction: row;
}
.tategaki.subline.wp-block-heading:first-child{
	margin-top: 0;
}
.subline{
	display: flex;
	flex-direction: column;
	margin-right: auto;
	margin-left: auto;
}
.subline:after{
	content: '';
	display: block;
	width: 30px;
	height: 4px;
	margin-top: 12px;
	margin-right: auto;
	margin-left: auto;
	background-color: var(--my_orange);
}
.sakuhin_fukidashi{
	background-image: url(img/obj_fukidashi.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 300px auto;
	padding-bottom: 60px;
}
.sakuhin_block{
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}
.sakuhin_name{
	max-width: 345px;
	margin-left: auto;
	margin-right: auto;
	border-bottom: #989898 1px solid;
	font-family: "Yuji Syuku", serif;
	font-size: 20px;
	padding-bottom: 10px;
}
.sakuhin_name.orange{
	border-color: var(--my_orange);
}
.sakuhin_name + p.sakuhin_text{
	margin-top: 10px;
}
.sakuhin_text{
	max-width: 345px;
	margin-left: auto;
	margin-right: auto;
}
.max700{
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}
.wp-block-button.is-style-outline .wp-block-button__link{
	border: #707070 1px solid;
	background-color: #fff !important;
	box-shadow: rgba(0,0,0,0.16) 0px 3px 6px;
	min-width: 216px;
	padding-top: 0.4em;
	padding-bottom: 0.4em;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover{
	box-shadow: none;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd){
	background-color: var(--my_light_orange);
}
.wp-block-table.is-style-stripes td{
	vertical-align: top;
}
.wp-block-table.is-style-stripes td:first-child{
	text-align: center;
}
.wp-block-table.is-style-stripes,
.wp-block-table.is-style-border table,
.wp-block-table.is-style-border tr,
.wp-block-table.is-style-border td{
	border: none;
}
.wp-block-table.is-style-border{
	border-top: #707070 1px solid;
}
.wp-block-table.is-style-border td{
	border-bottom: #707070 1px solid;
}
.wp-block-table.is-style-border td + td{
	border-left: #707070 1px solid;
}
.wp-block-separator{
	border-bottom: none;
	border-top: #d1d1d1 1px solid;
	margin-left: -1.5em;
	margin-right: -1.5em;
}
ul.list_sanjo{
	margin: 1em auto;
	padding: 0;
	list-style: none;
	width: fit-content;
}
ul.list_sanjo li{
	border-bottom: rgba(237, 66, 26, 0.5) 1px solid;
	margin: 0 0 0.5em;
}
ul.list_sanjo li a{
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	color: #222;
}
ul.list_sanjo li a::after{
	content: '';
	display: block;
	width: 1em;
	height: 1em;
	background-image: url(img/icon_exitlink.png);
	background-repeat: no-repeat;
	background-size: contain;
	margin-left: 1.5em;
}
.slider-founders .ystdtb-slider__container>.wp-block-image img{
	object-fit: contain !important;
}
.entry-content .wp-block-columns.left_wide .wp-block-image .alignright{
	margin-left: 0;
}
@media (min-width: 782px){
	.entry-content .wp-block-columns.left_wide{
		align-items: center !important;
		margin-left: -2em;
    	gap: 50px;
	}
	.entry-content .wp-block-columns.left_wide .wp-block-column:first-child{
		flex-basis: 50% !important;
	}
	.entry-content .wp-block-columns.left_wide .wp-block-column:last-child{
		flex-basis: 50% !important;
		padding-right: 0px;
	}
	.entry-content .sakuhin_name br{
		display: none;
	}
	ul.list_sanjo{
		margin: 1em auto 1em 0;
	}
}
@media (min-width: 1025px){
	.entry-content .wp-block-columns.left_wide{
		margin-left: calc(-50vw + 50% + var(--scrollbar-width)/2) !important;
		gap: 150px;
	}
	.entry-content .wp-block-columns.left_wide .wp-block-column:first-child{
		flex-basis: 60% !important;
	}
	.entry-content .wp-block-columns.left_wide .wp-block-column:last-child{
		flex-basis: 50% !important;
		padding-right: 100px;
	}
	.entry-content .about_logo.wp-block-columns.has-background{
		padding: 2em 1em 2em 2em;
		position: relative;
	}
	.entry-content .about_logo.wp-block-columns.has-background .wp-block-column:first-child{
		position: absolute;
		width: 150px;
	}
}
@media (max-width: 781px){
	.wp-block-columns.sp_reverse{
		flex-direction: column-reverse;
	}
	#top-member .wp-block-cover__image-background{
		opacity: 0;
	}
	#top-member {
		background-image: url(img/bg_top-member_sp.png);
		background-repeat: no-repeat;
		background-position: top right;
		background-size: 480px auto;
	}
	#top-sanjo {
		background-image: url(img/bg_top-sanjo_sp.png);
		background-repeat: no-repeat;
		background-position: bottom left;
		background-size: 380px auto;
		margin-left: -1rem;
		margin-right: -1rem;
		margin-bottom: -2rem;
		padding-bottom: 150px;
	}
}
@media (max-width: 599px){
	.sakuhin_name{
		width: 100%;
		min-width: 0;
		max-width: 320px;
	}
	#top-sanjo {
		background-size: 280px auto;
		padding-bottom: 130px;
	}
}
@media (max-width: 480px){
	#top-member {
		background-size: contain;
	}
}

/* join us */

.entry-content >.title_subtext:first-child{
	margin-top: 60px;
}
.title_subtext{
	margin-bottom: 0;
	speak: none;
}
.entry-content .title_subtext{
	font-size: 24px;
	display: flex;
	flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}
.entry-content .title_subtext::before{
	content: '\25cf';
	display: inline-block;
	font-size: 14px;
	margin-right: 4px;
}
.title_subtext + .wp-block-heading{
	margin-top: 0;
	font-size: 36px;
}
.waku {
	line-height: 1.2;
}
.waku strong{
	display: inline-block;
	border: #707070 1px solid;
	padding: 0.3em 0.5em;
}
.underline{
	border-bottom: rgba(112, 112, 112, 0.5) 1px solid;
	padding-bottom: 0.5em;
}
.slider-works .swiper{
	padding-left: 2.5em;
	padding-right: 2.5em;
	overflow: visible;
}
.slider-works .ystdtb-slider__container>.wp-block-image img{
	object-fit: contain !important;
	height: calc(100% - 40px) !important;
}
.slider-works .ystdtb-slider__container>.wp-block-image figcaption{
	padding: 8px 0;
	text-align: center;
	font-size: 16px;
	color: #222;
	font-weight: 700;
}
.entry-content .slider-works .swiper-button-next,
.entry-content .slider-works .swiper-button-prev{
	bottom: -50px;
}
.list_class .wp-block-table table .ystdb-inline--smaller{
	font-size: 0.75em;
}
.list_class .wp-block-table table th,
.list_class .wp-block-table table td{
	white-space:nowrap;
	line-height: 1.2;
	border-color: #707070;
}
.list_class .wp-block-table table th{
	background-color: var(--my_light_orange);
}
.list_class .wp-block-table table td:last-child{
	font-size: 0.8em;
}
.list_class .wp-block-table a[target*="_blank"]{
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
.list_class .wp-block-table a[target*="_blank"]::after{
	content: '';
	display: block;
	width: 1em;
	height: 1em;
	background-image: url(img/icon_exitlink.png);
	background-repeat: no-repeat;
	background-size: contain;
	margin-left: 0.5em;
    margin-bottom: 3px;
}
.list_class .wp-block-table a[target*="_blank"]:hover{
	opacity: 0.5;
}
.list_class .wp-block-table a[href*="tel"]{
	color: #222;
}
@media (min-width: 782px){
	.entry-content .list_class .wp-block-table a[href*="tel"]{
		cursor: none;
		pointer-events: none;
		text-decoration: none;
	}
}
/* form */
.snow-monkey-form{
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}
.smf-item{
	margin: 0 0 1em;
}
.smf-item__label{
	font-weight: 700;
}
.form-text strong,
.smf-item__label strong{
	color: var(--my_orange);
}
.smf-action .smf-button-control__control{
	background-color: var(--my_orange);
	background-image: none;
	color: #fff;
	font-weight: 700;
	border: none;
	border-radius: 0;
	transition: all 0.2s;
}
.smf-action .smf-button-control__control:hover{
	box-shadow: none;
	opacity: 0.5;
}
@supports ((-webkit-appearance: none) or (appearance:none)) or (-moz-appearance:none) {
	.smf-form .smf-item .smf-radio-button-control__control:checked {
		background-color: var(--my_orange);
		border-color: var(--my_orange);
	}
}

/* archive */

.rich_archive_header + #breadcrumbs + #content .archive__main .archive__header{
	display: none;
}
.archive__container.is-simple .archive__meta,
.archive__container.is-simple .archive__meta .archive__category{
	font-size: 1em;
	color: #222;
}
.archive__container.is-simple .archive__title{
	margin-top: 4px;
	padding-right: 20px;
	font-size: 1.15em;
}
.archive__container.is-simple .archive__meta .archive__category{
	font-weight: 700;
}
.archive__container.is-simple .archive__meta .archive__category.category--news{
	background-color: var(--my_light_orange);
	color: #222;
}
.archive__container.is-simple .archive__meta .archive__category.category--archived{
	background-color: #d1d1d1;
	color: #222;
}
.archive__container.is-simple .archive__meta .archive__category.category--exhibition{
	background-color: var(--my_orange);
	color: #fff;
	padding-right: 0.5em;
}
.archive__container.is-simple .archive__meta .archive__category.category--gallery{
	background-color: #222;
	color: #fff;
	padding-right: 0.5em;
}
.archive__container.is-simple .archive__item{
	border-bottom: #707070 1px solid;
	position: relative;
	flex-direction: column;
    gap: 0.5em;
}
.archive__container.is-simple .archive__item:after{
	content: '';
	background-image: url(img/icon_sankaku.png);
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	width: 10px;
	height: 10px;
	position: absolute;
	right: 5px;
	top: calc(50% - 5px);
	transition: all 0.5s;
}
.archive__container.is-simple .archive__item:hover:after{
	right: 0;
}

/* sidebar */

.sidebar__widget .widget_block{
	border: #707070 1px solid;
}
.sidebar__widget .widget_block + .widget_block{
	margin-top: 3em;
}
.sidebar__widget .widget_block .wp-block-heading{
	border-bottom: #707070 1px solid;
	padding: 0.3em 0;
}
.sidebar__widget .widget_block .widget_nav_menu,
.sidebar__widget .widget_block ul{
	margin-top: 0 !important;
	font-size: 1em;
}
.sidebar__widget .widget_block ul{
	padding: 1em 0.5em;
}
.sidebar__widget .wp-block-latest-posts.wp-block-latest-posts__list li,
.sidebar__widget .widget_nav_menu li,
.sidebar__widget .widget_nav_menu>ul{
	border-bottom: none;
	padding: 0;
}
.sidebar__widget .wp-block-latest-posts__list li a,
.sidebar__widget .widget_nav_menu li a{
	color: #222;
	padding: 0.6em 1em 0.6em 1.5em;
	position: relative;
	display: block;
}
.sidebar__widget .wp-block-latest-posts__list li a::before,
.sidebar__widget .widget_nav_menu li a::before{
	content: '';
	background-image: url(img/icon_sankaku.png);
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	width: 10px;
	height: 10px;
	position: absolute;
	left: 5px;
	top: 17px;
	transition: all 0.5s;
	border: none;
	transform: rotate(0);
	margin: 0;
}
.sidebar__widget .wp-block-latest-posts__list li a:hover:before,
.sidebar__widget .widget_nav_menu li a:hover:before{
	left: 8px;
	margin: 0;
}

/* single */

#breadcrumbs .container{
	max-width: 1000px;
	margin-top: 2em;
}
body.single-post .site-main{
	max-width: 900px;
}

.singular-header.entry-header{
	border-bottom: #707070 1px solid;
	position: relative;
	display: flex;
    flex-direction: column-reverse;
    gap: 0.5em;
}
.singular-header.entry-header .singular-header__meta{
	font-size: 1em;
	color: #222;
}
.singular-header.entry-header .singular-header__meta .ys-icon{
	display: none;
}
.singular-header.entry-header .entry-title{
	margin-top: 4px;
	padding: 0.5em 0 1em;
	font-size: 1.5em;
}
.singular-header.entry-header .singular-header__meta a{
	font-weight: 700;
	display: inline-block;
    padding: 0.2em 0.5em 0.1em;
}
.singular-header.entry-header .singular-header__meta a[href*="category/news"]{
	background-color: var(--my_light_orange);
	color: #222;
}
.singular-header.entry-header .singular-header__meta a[href*="category/archived"]{
	background-color: #d1d1d1;
	color: #222;
}
.singular-header.entry-header .singular-header__meta a[href*="category/exhibition"]{
	background-color: var(--my_orange);
	color: #fff;
	padding-right: 0.1em;
}
.singular-header.entry-header .singular-header__meta a[href*="category/gallery"]{
	background-color: #222;
	color: #fff;
	padding-right: 0.1em;
}

/* animation */

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100px,0,0);
        transform: translate3d(-100px,0,0)
    }

    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0,100px,0);
        transform: translate3d(0,100px,0)
    }

    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}
@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0,-100px,0);
        transform: translate3d(0,-100px,0)
    }

    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}