@charset "utf-8";
/* http://jigsaw.w3.org/css-validator/ */

/* body */
body{
	padding: 0;
	margin: 0;
}
body:not(.wp-admin){
	background-image:url(../images/headerbg.jpg),url(../images/bodybg.gif);
	background-repeat: no-repeat,repeat;
	background-position: center top;
	padding: 0;
	margin: 0;

	ul{
		margin-left: 1.5rem;
		padding: 0;
	}

} 

body#tinymce{
	background: none;
}

body:not(.wp-admin){
*
{
	font-family: "Noto Sans JP", sans-serif;
    box-sizing: border-box;
	line-height: 1.75;
	position: relative;
}
strong,
em
{
	color: #a20;
	font-style: normal;
}
.fr{
	float: right;
	margin:0 0 2rem 2rem;
}
.fl{
	float: left;
	margin:0 2rem 2rem 0;
}
strong strong
{
	border-bottom: 3px #aaa double;
}

u
{
	text-decoration: none;
	background: linear-gradient(transparent 70%, #EAD67980 0);
	border-bottom: 1px solid #EAD67980;
}

img,
iframe,
figure
{
	max-width: 100%;
	height: auto;
	border: none;
	display: block;
}
iframe{
	aspect-ratio: 16/9;
}
input,textarea{
	max-width: 100%;

}
.skip{
	position: absolute;
	left: -9000px;
}
nav ul{
	list-style:none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%;
}
ul li::marker{
	color: #dad389;
}
}

/* container */

#container
{
	font-family: sans-serif;
	color: #000;
	word-break: break-all;
	-webkit-text-size-adjust: 100%;
	width: 1000px;
	padding: 0 25px;
	box-sizing: border-box;
	margin: 0 auto;
}
#container>*{
	width: 100%;
}
/* header */
#site-header {
	padding-top: 0.25rem;
}
h1{
	margin: 0 auto;
}
#Accessibility_controller {
    position: absolute;
    right: 0;
    top: 20px;
}

#font_size_controller a {
    border-left: 1px dotted #999;
    margin: 0 0 0 5px;
    padding: 5px 5px 5px 10px;
}

#font_size_controller a#acc_fontsize_enlarge {
    background: 7px 0.2em no-repeat url(../images/large.png);
    padding: 5px 5px 5px 30px;
}

#main{
	box-shadow: 0 0 5px #cAc8c0;
}
#site-content{
	border-radius: 10px 10px 0 0;
	background: #fff;
	padding: 10px 20px 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.bodyflex{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	flex-direction: row-reverse;
}
#main #content{
	width: 710px;
}
#side{
	width: 180px;
}
#side>div{
	margin: 0 0 20px;
}
.menublock:empty{
	display: none;
}
.work .menublock{
	border: 3px solid #e3b1bf;
}
.publication .menublock{
	border: 3px solid #a3c5db;
}
.report .menublock{
	border:3px solid #a6c99b;
}
.news .menublock{
	border: 3px solid #e9bd98;
}
.aboutus .menublock{
	border: 3px solid #c6aabc;
}
.home .menublock{
	border: 3px solid #e4e0a6;
	background: #fbf9dc;
}
.home .menublock p,
.home .menublock ul{
	margin: 0 0.5rem 0.5rem;
}
.home .menublock ul{
	border-top: 1px solid #dbdbdb;
}
.home .menublock>ul>li>a{
	padding-left:1.25rem;
	background: 0.25rem 0.75em no-repeat url(../images/ulbglink.png) transparent;
}
.home .menublock>ul>li>a:hover{
	background: 0.25rem 0.75em no-repeat url(../images/ulbglink.png) rgba(0,0,0,0.1);
}
.menublock ul{
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
.menublock>ul li a{
	text-decoration: none;
	color: #000;
	border-bottom:1px dotted #dbdbdb;
	display:block;
	padding: 0.25rem 0.5rem;
}
.menublock>ul>li>a{
	background: #f4eff2;
}
.menublock>ul>li>a:has(+ul),
.menublock>ul>li>a.on,
.menublock>ul>li>a:hover{
	background:#e5d8e1;
}
.menublock li ul li a.on,
.menublock li ul li a:hover{
	background-color: #F7F1E9;
}
.menublock li ul li a{
	background-color: #fff;
	background-position: 0.5rem 0.75rem;
	background-repeat: no-repeat;
	background-image:  url(../images/tagsul.png) ;
	padding: 0.25rem 0.5rem 0.25rem 1.25rem;
	line-height: 1.5;
	display: block;
}


#side{
	font-size: 0.9rem;
}


#side h2{
	margin: 0 auto;
}
.glink,.yomoyama{
	border: 3px solid #dbdbdb;
	padding: 0;
}
.glink p{
	margin: 0;
	padding: 0;
}
.glink div.dashi_pagepart_wrapper::after,
.glink br{
	display: none;
}
.glink a img{
	border-bottom: 1px dotted #dbdbdb;
	width: 100%;
}
.glink a:hover img{
	opacity: 0.7;
}
.yomoyama p{
	margin: 0.5rem ;
}
.yomoyama h2{
	margin-top: -25px !important;
	display: block;
}
.yomoyama ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
.othersite ul{
	margin: 0;
	padding: 0;
	list-style: none;
}
.yomoyama li a,.othersite li a{
	display: block;
	border-top: 1px dotted #dbdbdb;
	padding: 0.25rem 0.5rem 0.25rem 1.5rem;
	background: 0.25rem 0.75rem no-repeat url(../images/ulbglink.png);
}

/* mainmenu */
#mainmenu>ul>li>a>span{
	display: block;
	height: 80px;
	width: 100%;
	text-indent: -9000px;
}
#mainmenu a{
	font-size: 0.9rem;
}
#mainmenu>ul>li{
	width: 172px;
}
#mainmenu>ul>li:nth-of-type(1){
	width: 50px;
}
#mainmenu>ul>li:nth-of-type(3){
	width: 171px;
}
#mainmenu>ul>li:nth-of-type(6){
	width: 178px;
}
#mainmenu>ul>li:nth-of-type(1)>a>span{
	background: left top no-repeat url('../images/menu1.gif');
}
#mainmenu>ul>li:nth-of-type(2)>a>span{
	background: left top no-repeat url('../images/menu2.gif');
}
#mainmenu>ul>li:nth-of-type(3)>a>span{
	background: left top no-repeat url('../images/menu3.gif');
}
#mainmenu>ul>li:nth-of-type(4)>a>span{
	background: left top no-repeat url('../images/menu4.gif');
}
#mainmenu>ul>li:nth-of-type(5)>a>span{
	background: left top no-repeat url('../images/menu5.gif');
}
#mainmenu>ul>li:nth-of-type(6)>a>span{
	background: left top no-repeat url('../images/menu6.gif');
}
#mainmenu>ul>li:nth-of-type(1)>a.on>span,
#mainmenu>ul>li:nth-of-type(1)>a:hover>span{
	background: left top no-repeat url('../images/menu1_ro.gif');
}
#mainmenu>ul>li:nth-of-type(2)>a.on>span,
#mainmenu>ul>li:nth-of-type(2)>a:hover>span{
	background: left top no-repeat url('../images/menu2_ro.gif');
}
#mainmenu>ul>li:nth-of-type(3)>a.on>span,
#mainmenu>ul>li:nth-of-type(3)>a:hover>span{
	background: left top no-repeat url('../images/menu3_ro.gif');
}
#mainmenu>ul>li:nth-of-type(4)>a.on>span,
#mainmenu>ul>li:nth-of-type(4)>a:hover>span{
	background: left top no-repeat url('../images/menu4_ro.gif');
}
#mainmenu>ul>li:nth-of-type(5)>a.on>span,
#mainmenu>ul>li:nth-of-type(5)>a:hover>span{
	background: left top no-repeat url('../images/menu5_ro.gif');
}
#mainmenu>ul>li:nth-of-type(6)>a.on>span,
#mainmenu>ul>li:nth-of-type(6)>a:hover>span{
	background: left top no-repeat url('../images/menu6_ro.gif');
}

#mainmenu>ul>li>div{
	display: none;
	position: absolute;
	padding: 10px;
	background: #fff;
	border-radius: 5px;
	z-index: 100001;
}
#mainmenu a{
	text-decoration: none;
	color: #000;
}
#mainmenu>ul>li:hover>div{
	display: flex;
}
	
.submenu_work{
	line-height: 1.1;
	left: 0;
	width: 860px;
	border: 2px solid #C8647F;
	flex-direction: row;
	flex-wrap: wrap;
	display: flex;
}
.submenu_work dl{
	width: calc((100% - 2rem) / 5);
	margin-left: 0.5rem;
}
.submenu_work dl:first-child{
	margin-left: 0;
}
.submenu_work a{
	padding:0 0.5rem;
	display: block;
}
.submenu_work dl::before{
	content: '';
	border-left: 1px dotted #b24762;
	width: 1px;
	height: 100%;
	position: absolute;
	left: -0.25rem;
	top: 0;
}
.submenu_work dl:first-of-type:before{
	display: none;
}
.submenu_work dt,
.submenu_work dd{
	padding:0 ;
	margin: 0;
}
.submenu_work dt a{
	padding: 0.25rem 0.5rem;
	background: #F9EFF2;
	border-bottom: 1px dotted #ccc;
	display: block;
}
.submenu_work dt a.on,
.submenu_work dt a:hover{
	background: #F1D8DF;

}
.submenu_work dd a{
	padding:0 0.5rem 0 15px;
	display: block;
	background:
	transparent url("../images/tagsul.png") no-repeat scroll 3px 0.7em;
}
.submenu_work dd a:hover,
.submenu_work dd a.on{
	background-color: #F7F1E9;
}

.submenu_aboutus{
	right: 0;
	width: 400px;
	border: 2px solid #976385;
}
.submenu_aboutus ul{
	flex-direction: row;
	flex-wrap: wrap;
	display: flex;
	align-items: flex-start;
}
.submenu_aboutus ul li{
	display: block;
	width: 50%;
	border-top:  1px dotted #ccc;
}
.submenu_aboutus ul li a{
	padding: 0 0.5rem;
	display: block;
	height: 100%;
}
.submenu_aboutus ul li a:hover,
.submenu_aboutus ul li a.on{
	background: #F4EFF2;
}
.submenu_aboutus ul li:nth-child(1),
.submenu_aboutus ul li:nth-child(2){
	border-top: none;
}
.submenu_aboutus::before{
	position: absolute;
	content: url('../images/box2.png');
	right: 75px;
	top: -21px;
	display: block;
}
.submenu_work::before{
	position: absolute;
	content: url('../images/box1.png');
	left: 75px;
	top: -21px;
	display: block;
}


#breadcrumbs{
	margin: 0 0 1rem;
	font-size: 0.9rem;
	display: block;
}
p{
	margin: 0 auto 0.5rem;
}

#main h1{
	padding: 0.5rem 1rem;
	background-position: left top,left bottom;
	background-repeat: repeat-x;
	color: #fff;
	font-size: 1.6rem;
	margin: 0 auto 2rem;
}
.onews h1,
.page h1{
	background-color:#6c655f;
	background-image: url(../images/h1bg.gif) ,url(../images/h1bgf.gif) ;
}
.aboutus h1{
	background-color:#976385;
	background-image: url(../images/h1about.gif) ,url(../images/h1aboutf.gif) ;
}
.news h1{
	background-color:#D78843;
	background-image: url(../images/h1news.gif) ,url(../images/h1newsf.gif) ;
}
.report h1{
	background-color:#60A050;
	background-image: url(../images/h1reports.gif) ,url(../images/h1reportsf.gif) ;
}
.publication h1{
	background-color:#4B8FBB;
	background-image: url(../images/h1publications.gif) ,url(../images/h1publicationsf.gif) ;
}
.work h1{
	background-color:#C8647F;
	background-image: url(../images/h1works.gif) ,url(../images/h1worksf.gif) ;
}

#content h2{
	clear: both;
 background:0.5rem 0.25rem no-repeat url(../images/h2bg.png) #fbf9dc;
  border-bottom:1px solid #e4e0a6;
  border-top:1px solid #e4e0a6;
  margin:3rem 0 1rem;
  padding:0.25rem 1rem 0.25rem 3rem;
  font-size: 1.2rem;
}
#content h3{
	clear: both;
	background:0.5rem 0.5rem no-repeat url(../images/h3bg.png) #f7f7f7;
  border-bottom:1px solid #dbdbdb;
  font-size: 1.1rem;
  margin:2rem 0 1rem;
  padding:0.25rem 1rem 0.25rem 3rem;
}
#content h4{
	clear: both;
	padding:0.25rem 1rem;
}
#content h4::before{
	content: '';
	background: #666;
	border-radius: 1em;
	width: 7px;
	height: 1.7rem;
	position: absolute;
	left: 0;
	top: 0.25rem;
}
.tbl{
	border-collapse: collapse;
	width: 100%;
	border-top:1px solid #e6e1a4;
	border-left:1px solid #e6e1a4;
}
.tbl thead th{
	background: #e6e1a4;
}
.tbl th{
	padding: 0.25rem 0.75rem;
	text-align: left;
	background: #fefbed;
	white-space: nowrap;
	border-bottom:1px solid #e6e1a4;
	border-right:1px solid #e6e1a4;
}
.tbl td{
	padding: 0.25rem 0.75rem;
	border-bottom:1px solid #e6e1a4;
	border-right:1px solid #e6e1a4;
}

.listbox{
	clear: both;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1rem;
	padding-top: 1rem;
	border-top: 1px dotted #cAc8c0;
}
.listbox:nth-of-type(2){
	margin-top: 2rem !important;
}

.listbox .imgbox{
	width: 175px;
	aspect-ratio: 16/9;
}
.listbox .imgbox img{
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.listbox .textbox{
	width: calc(100% - 175px - 1rem);
}
.listbox .textbox a:nth-of-type(1){
	font-weight: bold;
	background:left 0.1em no-repeat url(../images/worksh2c.gif);
  color: #c8647f;
  padding:0 0 0 15px;
}
.textbox span{
	font-size: 0.9rem;
	display: block;
}
.catimg{
	width: 300px;
}

.catimg img{
	width: 100%;
}
/* home */
.home .flex.c2{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2rem;
}
.home .flex.c2>*{
	width: calc((100% - 2rem) / 2) !important;
}
.home #content h2{
	margin: 0 auto;
	padding: 0;
	background: none;
	border: none;
}
.home .flex .date{
	font-size: 0.9rem;
	display: inline-block;
}
.pickup-section ul{
	margin-top: 0;
}
.pickup-section li{
	display: flex;
	gap: 0.5rem 1rem;
	flex-wrap: wrap;
	padding: 1rem 0;
	border-top: 1px dotted #ccc;
	justify-content: space-between;
	align-items: flex-start;
}
.pickup-section li:first-child{
	border-top: none;
	padding-top: 0;
}
.pickup-section li .imgbox{
	width: 175px;
	aspect-ratio: 16/9;
}
.pickup-section li .textbox{
	width: calc(100% - 175px - 1rem);
}
.pickup-section li:first-child .imgbox{
	width: 400px;
}
.pickup-section li:first-child .textbox{
	width: calc(100% - 400px - 1rem);
}
.pickup-section li h2{
	display: none;
}
.pickup-section li .imgbox img{
	width: 100%;
	object-fit: cover;
	object-position: center top;
	height:100%;
}
.pickup-section li:first-child h2{
	display: block;
	margin: 0 auto;
	padding: 0;
}
#content .pickup-section li h3{
	margin: 0 auto;
	padding: 0;
	font-size: 1rem;
	background: none;
	border: none;
}
.pickup-section p{
	font-size: 0.9rem;
	margin: 0 auto;
}

.numberbox {
    display: flex;
    flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
}
.numberbox>*:empty{
	display: none;
}
.nbox {
    width: calc((100% - 20px) / 2);
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

#nb1,
#nb2,
#nb5 {
    background: #faeef1;
}

#nb1 .ndata *,
#nb2 .ndata *,
#nb5 .ndata * {
    color: #c12f5a;
}

#nb3,
#nb7,
#nb8 {
    background: #eaf3f8;
}

#nb3 .ndata *,
#nb7 .ndata *,
#nb8 .ndata * {
    color: #007db8;
}


#nb4,
#nb6 {
    background: #edf8eb;
}

#nb4 .ndata *,
#nb6 .ndata * {
    color: #0b8723;
}


#content .numberbox h2 {
    font-size: 1.2rem;
    color: #222;
    background: none;
    border: none;
	font-family: "Zen Maru Gothic", serif !important;
	font-weight: 600;
    padding: 0;
    margin: 0;
}

.ndata *{
    font-size: 1.8rem;
	font-family: "Zen Maru Gothic", serif !important;
	font-weight: 900;
}

.ndata span {
    display: inline-block;
}

.ndata strong {
    font-size: 5rem;
	line-height: 5rem;
	margin: 0 0.25rem;
}

.numberbox .date {
    display: block;
    font-size: 0.9rem;
    margin: 0;
    color: #222;
}

.nbody {
    border-top: 1px solid #ccc;
    margin: 15px 0 0;
    padding: 15px 0 0 115px;
    background-position: left 15px;
    background-repeat: no-repeat;
    background-image: url("../images/numbers/n1.jpg");
}

#nb1 .nbody {
    background-image: url("../images/numbers/nb1.png");
}

#nb2 .nbody {
    background-image: url("../images/numbers/nb2.png");
}

#nb3 .nbody {
    background-image: url("../images/numbers/nb3.png");
}

#nb4 .nbody {
    background-image: url("../images/numbers/nb4.png");
}

#nb5 .nbody {
    background-image: url("../images/numbers/nb5.png");
}

#nb6 .nbody {
    background-image: url("../images/numbers/nb6.png");
}

#nb7 .nbody {
    background-image: url("../images/numbers/nb7.png");
}

#nb8 .nbody {
    background-image: url("../images/numbers/nb8.png");
}

.numberbox img {
    margin: 0 auto 1rem;
}

#content .numberbox ul {
    list-style-image: url("../images/ulbg_for_number.png");
}

@media screen and (max-width: 560px) {
    .nbox {
        width: calc(100%);
    }
}
.wpcf7-form p{
	border-top: 1px dotted #ccc;
	padding: 0.5rem 0;
}
.wpcf7-form p label{
	font-weight: bold;
}
.wpcf7-form p label span{
	font-weight: normal;
}
.wpcf7-form p label .req{
	font-size: 0.9rem;
	font-weight: normal;
	margin: 0 0.25rem;
	color: #900;
}
.wpcf7-list-item{
	margin: 0 1rem 0 0;
	font-size: 1.05rem;
	display: block;
}
input[type=text],
input[type=email],
input[type=tel],
input[type=number],
textarea{
	font-size: 1.1rem;
	padding: 0.25rem 0.5rem;
}
.fullbox{
	width: 100%;
	overflow: auto;
	padding: 1rem;
	border: 3px solid #4b8fbb;
	height: calc(100vh - 100px);
}
.catitem{
	display: inline-block;
	text-decoration: none;
	margin: 0 .25rem;
	padding: 0 0.5rem;
	font-size: 0.7rem;
	color: #fff;
	transform: translateY(-2px);
	opacity: 1;
}
.catitem:hover{
	opacity: 0.8;
}
.mypos1.catitem{
	background: #8e5f62;
}
.mypos2.catitem{
	background: #4e7b7e;
}

.pagetop {
	display: block;
	background: #fff;
	text-align: right;
	padding: 0 20px 10px;
}

.pagetop a {
	display: inline-block;
    background: left top no-repeat url(../images/pagetop.gif);
	margin: 0 auto;
    padding: 5px 0 10px 50px;
}

#footmenu ul {
	justify-content: flex-start;
	gap: 0.25rem 0;
	margin: 0.5rem ;
}
#footmenu li{
	padding: 0 0.5rem;
	border-left: 1px solid #222;
}
#footmenu li:first-child{
	border: none;
}
#site-footer strong{
	color: #222;
}

/* main_column */
#site-contents {}

/* footer */
#site-footer {}

/* content */

/* clearfix */
#mainmenu::after,
#site-header::after,
#site-content::after,
#site-footer::after,
#content::after
{
    clear: both;
    content: '';
    display: block;
}
#tagLists{
	border-radius: 0 0 10px 10px;
	background:	#f3f3f0;
	clear: both;
	font-size: 95%;
	padding:20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#tagLists div{
	width: calc((100% - 4rem) / 5 * 2);
}
#tagLists div:first-of-type{
	width: calc((100% - 4rem) / 5);
}
#tagLists div h3{
	text-indent: -9000px;
	margin: 0 0 10px;
	padding: 0;
	height: 57px;
	background-position: bottom left;
	background-repeat: no-repeat;
}
#tagLists div:nth-child(1) h3{
	background-image: url('../images/tagb1.png');
}
#tagLists div:nth-child(2) h3{
	background-image: url('../images/tagb2.png');
}
#tagLists div:nth-child(3) h3{
	background-image: url('../images/tagb3.png');
}
#tagLists ul{
	margin: 0;
	padding: 0;
	list-style: none;
}
#tagLists ul li{
	padding:0 10px;
	vertical-align: top;
	display: inline-block;
	background: left 0.66rem no-repeat url('../images/tagsul.png');
	width: calc((100% - 0.5rem) / 2);
}
#tagLists div:first-child ul li{
	width: 100%;
}


/* for wp */
.aligncenter
{
	display: block;
	margin: 0 auto;
}
.alignleft
{
	text-align: left;
}
.alignright
{
	text-align: right;
}
img.alignleft
{
	float: left;
	margin-right: 10px;
}
img.alignright
{
	float: right;
	margin-left: 10px;
}



/* col */
.col,
.col2,
.col3,
.col4,
.col_full,
.gallery-columns-2,
.gallery-columns-3,
.gallery-columns-4,
.wp-block-group.person_profile > .wp-block-group__inner-container {
	display: flex;
	justify-content: space-between;
	padding: 0;
	list-style: none;
	align-items: stretch;
	width: 100%;
}
.col.center,
.col2.center {
	justify-content: center;
	column-gap: calc( min(40px, var( --base_margin ))/2 - .6rem ) ;
}
.col2,
.col3,
.col4,
.col_full,
.gallery-columns-3,
.gallery-columns-4 {
	flex-wrap: wrap;
	margin-block: 0;
	row-gap: calc( min(40px, var( --base_margin ))/2 - .6rem ) ;
}
.col3::after,
.col3::before,
.col4::before,
.col4::after,
.gallery-columns-3::before,
.gallery-columns-3::after,
.gallery-columns-4::before,
.gallery-columns-4::after {
	content: '';
	display: block;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.col3::before,
.col4::before,
.gallery-columns-3::before,
.gallery-columns-4::before {
	-ms-flex-order: 1;
	-webkit-order: 1;
	order: 1;
}
.col3:has(li:nth-child(3n):last-child)::before,
.col3:has(li:nth-child(3n-1):last-child)::before,
.col3:has(li:nth-child(3n):last-child)::after {
    content: none;
}

.col > * >:last-child,
.col2 > * >:last-child,
.col3 > * >:last-child,
.col4 > * >:last-child,
.col_full > * >:last-child,
.gallery-columns-3 > * >:last-child,
.gallery-columns-4 > * >:last-child {
	margin-bottom: 0;
}
.col2 > *,
.gallery-columns-2 > * {
	width: calc( 50% - var(--base_margin)*0.8/2 );
}
.col3 > *,
.col3::after,
.col3::before,
.gallery-columns-3 > .gallery-item,
.gallery-columns-3::after,
.gallery-columns-3::before {
	width: calc( (100% - var(--base_margin) )/3 );
}
.col3.narrow,
.gallery-columns-3.narrow {
	row-gap: calc( var( --base_margin )/2 - .5rem ) ;
}
.col3.narrow > *,
.col3.narrow::after,
.col3.narrow::before,
.gallery-columns-3.narrow > .gallery-item,
.gallery-columns-3.narrow::after,
.gallery-columns-3.narrow::before {
	width: calc( (100% - 6% )/3 );
}
.col4 > *,
.col4::before,
.col4::after,
.gallery-columns-4 > .gallery-item,
.gallery-columns-4::before,
.gallery-columns-4::after {
	width: calc( ( 100% - var(--base_margin))/4 );
}
.col_full > * {
	margin: 0 10px 20px;
	width: 100%;
}
.col > *:first-child,
.col > .content > *:first-child,
.box > .content > *:first-child {
	margin-top: 0;
}
.col > *:last-child,
.col > .content > *:last-child,
.box > .content > *:last-child {
	margin-bottom: 0;
}
.col img,
.col2 img,
.col3 img,
.col4 img,
.col_full img,
.gallery img {
		vertical-align: bottom;
}



/* メディアクエリ */

@media all and (min-width: 640px)
{
	.sp
	{
		display: none !important;
	}
}

@media all and (max-width: 640px)
{
	.pc
	{
			display: none !important;
	}
	.fr,.fl,.alignright,.alignleft{
		float: none !important;
		max-width: 100%;
		margin:0 auto 2rem !important;
	}

	#container{
		max-width: 100%;
		padding: 0 1rem;
	}
	#logo{
		max-width: calc(100% - 4rem);
		margin: 0;
	}
	#site-content{
		padding: 0 0 2rem;
	}
	#site-content>*{
		padding: 1rem 1rem 0;
	}
	#breadcrumbs{
		margin: 0;
		padding: 0 1rem 0;
	}
	#main #content,
	#site-content #mainmenu{
		width: 100%;
		margin: 0 auto;
		padding: 0;
	}
	#mainmenu ul{
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: flex-start;
		width: 100%;
		gap: 1px;
	}
	#mainmenu ul.menu li{
		width: calc((100% - 1px) / 2);
	}
	#mainmenu .menu li a span{
		display: flex;
		align-items: center;
		text-indent:inherit;
		width: 100%;
		height: 100%;
		padding: 1rem 0.75rem;
		font-size: clamp(0.8rem, 3vw, 1.1rem);
		font-weight: bold;
		background-image: none !important;
		color: #fff;		
	}
	#mainmenu .menu li:nth-of-type(1){
		background: #7b7772;
	}
	#mainmenu .menu li:nth-of-type(2){
		background: #cf6a81;
	}
	#mainmenu .menu li:nth-of-type(3){
		background: #639ec3;
	}
	#mainmenu .menu li:nth-of-type(4){
		background: #70b063;
	}
	#mainmenu .menu li:nth-of-type(5){
		background: #de9250;
	}
	#mainmenu .menu li:nth-of-type(6){
		background: #9f6b8c;
	}
	#mainmenu .menu li:nth-of-type(1) a:hover span{
		background: #7b7772;
	}
	#mainmenu .menu li:nth-of-type(2) a:hover span{
		background: #cf6a81;
	}
	#mainmenu .menu li:nth-of-type(3) a:hover span{
		background: #639ec3;
	}
	#mainmenu .menu li:nth-of-type(4) a:hover span{
		background: #70b063;
	}
	#mainmenu .menu li:nth-of-type(5) a:hover span{
		background: #de9250;
	}
	#mainmenu .menu li:nth-of-type(6) a:hover span{
		background: #9f6b8c;
	}
	#mainmenu > ul > li > div{
		display: none !important;
	}
	.pickup-section ul{
		display: flex;
		gap: 1rem;
		flex-wrap: wrap;
	}
	.pickup-section li{
		width: calc((100% - 1rem) / 2);
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;

	}
	.pickup-section li:first-child{
		width: 100%;
	}
	.pickup-section .textbox,
	.pickup-section .imgbox{
		width: 100% !important;
	}
	.pickup-section ul{
		margin: 0 auto;
	}
	#side{
		padding-top: 3rem;
		margin-top: 3rem;
		border-top: 2px solid #a3c5db;
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		gap: 1rem;
		justify-content: flex-start;
		align-items: flex-start;
	}
	#side .othersite{
		width: calc((100% - 1rem) / 2);
		order: 2;
	}
	#side>*{
		width: 100%;
	}
	.home #side .menublock h2{
		float: left;
		width: auto;
		margin-right: 1rem;
	}
	.home .menublock p{
		padding: 0.5rem;
	}
	.home #side .menublock ul{
		clear: both;
	}
	.yomoyama h2{
		background: linear-gradient(to bottom ,transparent 0,transparent calc(100% - 40px),#fcf9dc calc(100% - 40px),#fcf9dc calc(100% - 2px),#f0edc0 calc(100% - 2px),#f0edc0 100%);
	}
	#main h1{
		border-radius: 10px;
	}
	#tagLists>div{
		width: 100% !important;
	}
	#tagLists div:first-child ul li{
		width: calc((100% - 0.5rem) / 2);
	}
	#tagLists h3::after{
		position: absolute;
		z-index: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 3px;
		content: '';
		background: #60A050;
	}
	/* col */
	.col,
	.col3,
	.gallery-columns-3 {
		row-gap: calc( var(--base_margin)*2 );
	}
	.col > *,
	.col3 > *,
	.gallery-columns-3 > .gallery-item {
		width: 100% !important;
	}
	.col2 .thumb {
		text-align: center;
	}
	.col3.narrow > *,
	.gallery-columns-3.narrow > .gallery-item {
		width: calc( (100% - 3.5% )/2 );
	}
	.col3::before,
	.col3::after,
	.col4:before,
	.col4::after,
	.gallery-columns-3::before,
	.gallery-columns-3::after,
	.gallery-columns-4:before,
	.gallery-columns-4::after {
			content: none;
	}
	.col > * {
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.col img {
		display: block;
		margin: 25px auto;
	}

}

@media all and (max-width: 480px)
{
	.home .flex.c2 > *{
		width: 100% !important;
	}
	.home .flex.c2 h2 img{
		width: 100%;
	}

}

/* block editor */

.tare-sample-classname
{
	background-color: #900;
	color: #fff;
	padding: 20px;
	font-size: 150%;
}