/*
Theme Name: sai
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfour
Text Domain: sai
Tags: 

*/

@charset "UTF-8";

body{
	font-family: 'BIZ UDPGothic', sans-serif;
	background-color:#ffffff;
}

* {
  box-sizing: border-box;
}

:root :where(.is-layout-constrained) > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

/******　theme.jsonから移行　****/

body {
    font-family: 'BIZ UDPGothic', sans-serif;
    font-size: clamp(1rem, 0.932rem + 0.3vw, 1.125rem);
    line-height: calc(clamp(1rem, 0.932rem + 0.3vw, 1.125rem) * 1.8);
	color:#000;
    background: var(--wp--preset--color--white);
    padding:0;
	margin:0;
	width:100%;
	overflow-x:hidden;
}


/* 見出しブロック */
.wp-block-heading {
    font-family: 'BIZ UDPGothic', sans-serif;
}

/* リストブロック */
.wp-block-list {
    color: var(--wp--preset--color--black);
}

/* 投稿日時ブロック */
.wp-block-post-date {
    font-family: 'BIZ UDPGothic', sans-serif;
    font-size: 1rem;
    font-weight: 400;
}

/* ================================
   余白設定
================================ */
.wp-block {
    margin-bottom: 1rem;
}

/* ================================
   レイアウト関連
================================ */
.wp-container {
    max-width: 1200px;
}

.wp-container-wide {
    max-width: 1360px;
}

/********************/

.flex-container {
  display: flex;
  gap: 0;
}

.flex-item {
  margin: 0;
}

.mega-toggle-blocks-left,.mega-toggle-blocks-center {
    display:none!important;
}

@media (width < 782px) {
	.menuBtn{
	display:flex;
	flex-basis:auto!important;
	justify-content: center;
}
}

.siteLogoFooter {
    align-items: center;
}

@media (width < 782px) {
.siteTitle {
    flex-basis: 60%!important;
    display: flex;
    justify-content: center;
}
}

@media (width < 380px) {
.siteTitle {
    flex-basis: 100%!important;
    display: flex;
}
}

.siteTitle > div > div.is-layout-flex {
    gap: 0.3rem;
}

.siteTitle > div > div > p {
    margin-left:0.8rem;
}

@media (width < 380px) {
.siteTitle > div > div > p {
    display:none;
}	
}

.siteTitle a {
	text-decoration:none!important;
}

.sitelogos {
    column-gap: 1rem;
    row-gap: 0;
    justify-content: center;
    position: relative;
}
/*
.alignwide {
    padding: 0 1em;
	margin-left:auto;
	margin-right:auto;
}*/

a:where(:not(.wp-element-button)) {
    text-underline-offset:5px;
    text-decoration-color: var(--wp--preset--color--contrast);
    text-decoration-style: dashed;
    text-decoration-thickness:1px;
}

body.category .columnOver {
    position:relative;
	padding:0;	
}

@media (width >= 782px) {
.columnOver {
	padding-bottom:2em;
	margin-top:1em;
}
}

.post-type-post .columnOver {
    background-color: #fff;
	column-gap:5%;
	padding-top:1em;
}

.post-type-archive .columnOver::before,
.single .columnOver::before {
    position:absolute;
    content:"";
    width:100%;
    height:100%;
    background-color: rgba(193, 231, 253 ,0.4);
    top:8em;
	left:0;
	z-index:-1;
}

.single-governmentinfo .columnOver::before,
.post-type-archive-governmentinfo .columnOver::before,
.post-type-meeting .columnOver::before{
	display:none;
}

@media (width >= 782px) {
.page .columnOver {
	padding-bottom:1em;
	margin-top:1em;
}
}

@media (width >= 1024px) {
.page .columnOver {
	padding-bottom:2em;
	margin-top:2em;
}
}

@media (width <= 1024px) {
.single-guide .columnOver > div {
    flex-direction: column;
    gap: 0;
}
}

@media (width <= 1024px) {
.single-guide .columnOver > div > div.sideNavi{
	padding-top:0!important;
	margin-top:1.5em;
	background-color:#fff;
}
}

header.wp-block-template-part{
	position: sticky;
	padding-left:0;
	padding-right:0;
	top: 0;
	z-index: 10;
	background-color: rgba(255,255,255,0.96);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

header.wp-block-template-part > div{
	padding-left:0!important;
	padding-right:0!important;
}

@media (max-width: 782px) {
header.wp-block-template-part > div{
	display:flex;
}
}

header .headerInner {
    position:relative;
}

header .headerInner > div {
    margin-top: 0;
}

header .headerInner {
    row-gap: 0;
    width: 100%;
	max-width:1600px;
	padding:0.5em;
}

header .search-box {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
	width:60vw;
	max-width:290px;
}

@media (max-width: 782px) {
header.wp-block-template-part > div{
	padding:0.5em;
}
}

figure.wp-block-image.size-full.btLanguage {
    min-width: 40px;
	max-width:58px;
}

header .search-box input {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.25rem 0.5rem;
    margin: 0;
}

header .search-box button {
    width: 2rem;
    height: 2rem;
    min-height: 24px;
    min-width: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wp--preset--color--contrast);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

h4 {
	margin-block-end: 0;
	margin-block-start: 0;
}

.has-global-padding {
    --wp--style--root--padding-right: 1.2rem !important;
    --wp--style--root--padding-left: 1.2rem !important;
}

@media (782px <= width < 1024px) {
header .siteTitle {
    flex-basis: 40%!important;
}
}

@media (1024px <= width <= 1150px) {
header .siteTitle {
    flex-basis: 25%!important;
}
}

time,
span.duration.time{
    font-size: var(--wp--preset--font-size--small);
}

.firstView {
    overflow: hidden;
    position:relative;
    margin-top: 1em;
}

@media (max-width: 782px) {
.firstView {
	padding-bottom:1em;
	margin-top:0;
}	
}

@media (min-width: 1024px) {
.firstView {
	margin-top:2em;
}	
}

a:where(:not(.wp-element-button)) {
    color: #000;
}

/************/

.megaMenuBox {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1460px;
    margin: 0 auto;
    gap: 2em;
    padding: 1.6em;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .megaMenuBox {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.6em;
        padding: 1.2em;
    }
}

@media (max-width: 782px) {
    .megaMenuBox {
        grid-template-columns: 1fr;
        gap: 1.6em;
        padding: 0.8em;
    }
}

.megaMenuInBox {
    padding: 10px;
    text-align: left;
    width: 100%;
	margin-top:0;
}

@media (max-width: 782px) {
    .megaMenuInBox {
        width: 100%;
        margin: 0 auto;
		padding:0!important;
    }
	
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item{
		padding:0!important;
	}
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title,
.megaMenuInBox h3.subtitle,
.megaMenuInBox h4.subtitle {
     margin: 0 0 1em 0!important;
    text-align: left;
    padding-left:2.4em;
    position:relative;
    font-size: calc(var(--wp--preset--font-size--medium) * 1.2);
    color: #000;
    font-weight: 700;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title{
	margin-top:1em!important;
	margin-bottom:0.6em!important;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item figcaption{
	visibility:hidden;
}

@media (max-width: 782px) {
.megaMenuInBox h3.subtitle,
.megaMenuInBox h4.subtitle {
    margin: 0.5em 0 1em 0.5em!important;
}
}

.megaMenuInBox h4.subtitle::before,
.megaMenuInBox h3.subtitle::before{
	position:absolute;
	content:"";
	width:1.7em;
	height:1.7em;
	top:50%;
	left:0;
	transform:translate(0,-62%);
	background-repeat:no-repeat;
	background-size:contain;
}

.megaMenuInBox.madoguchi h4.subtitle::before,
.megaMenuInBox.madoguchi h3.subtitle::before{
	background-image:url(./assets/images/i-madoguchi.svg);
}

.megaMenuInBox.sumai h4.subtitle::before,
.megaMenuInBox.sumai h3.subtitle::before{
	background-image:url(./assets/images/i-sumai.svg);
}

.megaMenuInBox.iryou h4.subtitle::before,
.megaMenuInBox.iryou h3.subtitle::before{
	background-image:url(./assets/images/i-iryou.svg);
}

.megaMenuInBox.kosodate h4.subtitle::before,
.megaMenuInBox.kosodate h3.subtitle::before{
	background-image:url(./assets/images/i-kosodate.svg);
}

.megaMenuInBox.zei h4.subtitle::before,
.megaMenuInBox.zei h3.subtitle::before{
	background-image:url(./assets/images/i-zei.svg);
}

.megaMenuInBox.bousai h4.subtitle::before,
.megaMenuInBox.bousai h3.subtitle::before{
	background-image:url(./assets/images/i-bousai.svg);
}

#mega-menu-227-1-0 ul.mega-sub-menu li .megaMenuInBox h3::before {
    background-image:url(./assets/images/i-aboutsai.svg);
}

#mega-menu-227-1-0 ul.mega-sub-menu li .megaMenuInBox h3::before {
    background-image:url(./assets/images/i-aboutsai.svg);
}
#mega-menu-227-1-1 ul.mega-sub-menu li .megaMenuInBox h3::before {
    background-image:url(./assets/images/i-yakuba.svg);
}

#mega-menu-227-1-2 ul.mega-sub-menu li .megaMenuInBox h3::before {
    background-image:url(./assets/images/i-torikumi.svg);
}

#mega-menu-227-1-3 ul.mega-sub-menu li .megaMenuInBox h3::before {
    background-image:url(./assets/images/i-kankou.svg);
}

li#mega-menu-227-1-3 h4.mega-block-title {
    position:relative;
	padding-left:2.6em!important;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column#mega-menu-502-1-1 > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title {
    position:relative;
	padding-left:2.6em!important;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column#mega-menu-227-1-3 > ul.mega-sub-menu > li.mega-menu-item:nth-child(2) h4.mega-block-title::before{
	position:absolute;
	content:"";
	width:1.7em;
	height:1.7em;
	top:50%;
	left:0.4em;
	transform:translate(0,-62%);
	background-repeat:no-repeat;
	background-size:contain;
 	background-image:url(./assets/images/i-kouhou.svg);   
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column#mega-menu-502-1-1 > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title::before{
 	background-image:url(./assets/images/i-gikaidayori.svg);
	position:absolute;
	content:"";
	width:1.7em;
	height:1.7em;
	top:50%;
	left:0.4em;
	transform:translate(0,-62%);
	background-repeat:no-repeat;
	background-size:contain;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column#mega-menu-502-1-1 > ul.mega-sub-menu > li.mega-menu-item a::before,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column#mega-menu-227-1-3 > ul.mega-sub-menu > li.mega-menu-item:nth-child(2) a::before{
	display:none;	
}

.wp-block-search__button svg.search-icon {
    color: #fff;
}

.megaMenuInBox ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0 0.2em 1.2em 0.2em;
    list-style: none;
}

.megaMenuInBox ul li {
    flex: 1 1 auto;
    min-width: 100px;
    white-space: nowrap;
}

.megaMenuInBox.ulBox li a{
	position:relative;
}

@media (width > 782px) {
.megaMenuInBox h4 a {
    display: flex!important;
    align-items: center;
}
}
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item a:before,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:before,
.megaMenuInBox.ulBox li a::before,
.megaMenuInBox h4 a::before,
.mega-sub-menu .textwidget.custom-html-widget h4 a::before{
	content: "";
	position:relative;
	background-image:url(./assets/images/sankaku-orange.svg);
	background-repeat:no-repeat;
	background-position:center center;
	margin-right: 0.7rem;
	display: inline-block;
	top:-1px;
	width:10px;
	height:10px;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:before{
	transform:translate(0,100%)
}

@media (width < 782px) {
.megaMenuInBox div {
    margin-top: 0!important;
    margin-block-start: 0!important;
    padding-bottom:1.2rem;
    }
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item {
  margin: 0 0.5em 0 0.5em;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item a, 
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item a,.megaMenuBox.inPage .megaMenuInBox div ul li a,.megaMenuInBox.menulink ul li a{
    display: block;
    padding:0.7em;
	background-color:#ffffff;
	transition:0.3s;
	border-radius:10px;
	color:#000;
	font-weight:400;
	text-decoration:none;
}

@media (width <= 1450px) {
.megaMenuBox.inPage{
	border:none;
}
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item a:hover, 
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item a:hover,
.megaMenuBox.inPage .megaMenuInBox div ul li a:hover{
    background-color:var(--wp--preset--color--primary);
	text-decoration:underline;
    text-decoration-style:dashed;
    text-decoration-color: var(--wp--preset--color--contrast);
	text-decoration-thickness:1px;
}

@media only screen and (max-width: 1024px) {
  #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle {
    background-color: transparent;
  }
}

@media (width >= 600px) {
.megaMenuBox.inPage {
    padding: 2em;
	z-index:0;
}
}

.megaMenuBox.inPage {
    padding: 1.5em;
	width:96%;
}

.megaMenuBox.inPage::before{
	position:absolute;
	content:"";
	width: 100%;
	max-width: 700px;
	height: calc(100vw * (956 / 1225));
	background-image:url(./assets/images/backShimokita.jpg);
	background-size: contain;
	background-repeat:no-repeat;
	z-index: -3;
	left: calc(((100vw - 100%) * 0.5 * -1) + 5px);
	top: -17vw;
}

.megaMenuBox.inPage::after{
	position:absolute;
	content:"";
	width: 100%;
	height:100%;
	background-color: #F1EFEF;
	opacity: 0.98;
	z-index: -1;
}

@media (width <= 782px) {
.megaMenuBox.inPage::after{
	display:none;
}
}

.megaMenuInBox.menulink ul li a,
ul.menulink li a{
	display:block;
	text-align: center;
	border: solid 1px var(--wp--preset--color--contrast);
	padding:1em 1em;
	position:relative;
	font-size: calc(var(--wp--preset--font-size--medium) * 0.94);
	background-color:#fff!important;
	text-decoration:none;
	border-radius:0!important;
	padding:1em 1em 1em 1.8em!important;
}

.megaMenuInBox ul.menulink li a::before,
ul.menulink li a::before{
	content: "";
	position:absolute;
	background-image:url(./assets/images/sankaku-ao.svg);
	background-repeat:no-repeat;
	background-position:center center;
	margin-right: 0.7rem;
	display: inline-block;
	width:10px;
	height:10px;
}

.megaMenuInBox.menulink ul li a::before, 
ul.menulink li a::before{
	content: "";
	position:absolute;
	background-image:url(./assets/images/sankaku-ao.svg)!important;
}

.megaMenuInBox.menulink ul li a:hover::before, 
ul.menulink li a:hover::before{
	content: "";
	position:absolute;
	background-image:url(./assets/images/sankaku-orange.svg)!important;
}

.menulink ul li a:hover,ul.menulink li a:hover{
	text-decoration:solid;
	background-color: var(--wp--preset--color--contrast)!important;
	color:#fff!important;
}

.megaMenuInBox ul.menulink li a:hover::before,
ul.menulink li a::before{
	content: "";
	position:absolute;
	background-image:url(./assets/images/sankaku-orange.svg);
	background-repeat:no-repeat;
	background-position:center center;
	margin-right: 0.7rem;
	display: inline-block;
	width:10px;
	height:10px;
}

.menulink ul,
ul.menulink {
    list-style-type: none;
    padding: 0 1em 1em 1em;
    display: flex;
    flex-direction: column;
    row-gap: 1em;
}

@media (width > 782px) {
.menulink ul,
ul.menulink {
    flex-direction:row;
    row-gap: 1em;
	column-gap:1em;
	margin-top:0;
	padding-top:0;
    flex-wrap: wrap;
	padding-bottom:0;
}
}

@media (width >= 1024px) {
.sideNavi .menulink ul,
.sideNavi ul.menulink {
    flex-direction:column;
}
}

@media (width <= 600px) {
.menulink ul,
ul.menulink {
    flex-direction:inherit;
    row-gap: 1em;
	column-gap:1em;
	margin-top:0;
	padding-top:0;
}
}

.menulink ul li,
ul.menulink li{
	max-width:86%
}

@media (width <= 1024px) {
.menulink ul li,
ul.menulink li{
	max-width:100%;
}	
}

@media (width <= 782px) {
.menu-content ul.menulink {
	 padding:0;
	 margin-top:0;
}
}

.hidariBox ul.menulink {
    padding:1.5em 0 1.5em 0 !important;
	gap:1.9em;
	display:flex;
	flex-direction:row;
}

@media ( 782px < width <= 1024px) {
.hidariBox ul.menulink{
	flex-direction:column!important;
	row-gap:1em;
}
}

@media ( width <= 480px) {
.hidariBox ul.menulink {
	flex-direction:column!important;
	row-gap:1em;
	padding-top:1em;
}
}

.hidariBox ul.menulink li{
	flex:1;
}

.hidariBox ul.menulink li a{
	position:relative;
	font-size: var(--wp--preset--font-size--medium);
	text-decoration:none;
	border-radius:0!important;
	padding:1.5em 1em 1.5em 1.8em!important;
	transition:.3s;
}

/****/

.sideNavi{
	padding-top:0;
}

@media (width >= 782px) {
.post-type-guide .sideNavi {
    padding-top: 2em!important;
}
}

@media (width <= 782px) {
.megaMenuInBox h3 + ul {
    margin-bottom: 1.5em;
}
}

@media (width <= 1024px) {
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu ul.mega-sub-menu {
  visibility: inherit;
  opacity: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
}

/* top swiper */

.slideMark {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    width: 22vw;
    padding:1em;
    background-color:rgba(0,0,0,0.1);
    background-blend-mode:darken;
}
@media (width <= 782px) {
.slideMark {
    width: 33vw;
    max-width:382px;
    top:32%;
}
}

.swiper-container {
    width: 100%;
overflow: hidden;
}

.swiper-slide img {
  height: auto;
  width: 100%;
}
@media (width => 782px) {
.swiper-button-prev,.swiper-rtl .swiper-button-next {
    left: 13%;
    right: auto;
}

.swiper-button-next,.swiper-rtl .swiper-button-prev {
    right: 13%;
    left: auto;
}
}

:root :where(.is-layout-flow) > *{
	margin-block-start:0!important;
}

:where(.wp-site-blocks) > *{
	margin-block-start:0;
}

.wp-site-blocks{
	padding-top:0;
	padding-bottom:0;
}

/*********/

.leftNavBox {
    z-index: 5;
    width: 96%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom:3em;
    padding-top:2em;
    z-index: 6;
}

@media (width >= 520px) {
.leftNavBox {
    width: 80%;
}
}

@media (width >= 782px) {
.leftNavBox {
    width: 400px;
    margin-left: 0;
    margin-right: 0;
	padding-top:1.5rem;
}
}

@media (width <= 1600px) {
.leftNavBox {
	display:flex;
	width:100%;
	justify-content: center;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-top:3rem;
}
}

@media (width <= 980px) {
.leftNavBox {
	flex-wrap:wrap!important;
}
}

@media (width <= 600px) {
.leftNavBox {
	padding-top:1rem;
}
}

@media (width <= 1600px) {
.openCloseBox{
	margin-top:0;
	flex: 0 0 30%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	padding: 2% 0 4% 0!important;
}
}

@media (width <= 1200px) {
.openCloseBox{
	margin-top: 0;
	width:100%;
	flex: 0 0 32%;
}
}

@media (width <= 980px) {
.openCloseBox {
	flex:0 1 43%;
}
}

@media (width <= 782px) {
.openCloseBox {
	flex:0 0 80%;
	display: flex;
	flex-direction: column;
	padding: 4% 2%!important;
}
}

@media (width <= 1600px) {
.calendarBox{
	margin-top:0;
	flex: 0 0 32%;
}
}

@media (width <= 1200px) {
.calendarBox{
	margin-top: 0;
	width:100%;
}
}

@media (width <= 980px) {
.calendarBox {
	margin-top:2.5rem;
	flex:0 1 42%;
}
}

@media (width <= 782px) {
.calendarBox {
	flex:0 0 80%;
}
}

@media (width <= 1600px) {
.calendar tr td span {
  display: block;
  width: 25px;
  height: 24px!important;
}
}

.kantanKensakuBox {
    background-color:#fff;
    padding:1em;
}

@media (width <= 1600px) {
.kantanKensakuBox {
	margin-top:0;
	flex: 0 0 32%;
	max-width: 340px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}
}

@media (width <= 980px) {
.kantanKensakuBox {
	flex:0 1 42%;
}
}

@media (width <= 782px) {
.kantanKensakuBox {
	flex:0 0 100%;
	max-width:80%;
	margin-bottom:1.5rem;
}
}

@media (width <= 520px) {
.kantanKensakuBox,.calendarBox,.openCloseBox{
	width:100%;
	max-width:100%;
	flex:0 0 100%;
}
}

.syousaiOuter > p{
	padding-top:0!important;
}
@media (width <= 520px) {
.syousaiOuter {
    margin-top: 0.3rem;
}
}

/*********/

.swiper-container{
	padding-bottom: 0;
	}

.swiper-container.slide {
    position: relative;
}

.swiper-container.slide .wp-block-image.alignfull img, .wp-block-image.alignwide img{
    width:100%;
    height:100%;
	aspect-ratio:1360 / 830;
	object-fit:cover;
}

.swiper-container.slide .swiper-pagination {
    bottom: 0!important;
    padding: 0.5rem 0;
 }

@media (width >= 782px) {
.swiper-container.slide .swiper-pagination {
    bottom: 13%!important;
    padding: 0.5rem 0;
    background-color: rgba(255,255,255,0);
 }
}

.swiper-container.slide span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: rgba(255,255,255,1);
    width: 1.2em;
    height: 1.2em;
    border: solid 1px var(--wp--preset--color--contrast);
}

.swiper-container.slide span.swiper-pagination-bullet {
    width: 1.2em;
    height: 1.2em;
    opacity:0.7;
    background-color: var(--wp--preset--color--fourth);
    border: solid 1px var(--wp--preset--color--contrast);
    margin:0 8px;
}

.swiper-container.slide .swiper-button-next, .swiper-container.slide .swiper-button-prev{
	display:none;
}

@media (width >= 782px) {
.swiper-container.slide .swiper-button-next{
	right: 13%;
    left: auto;
}

.swiper-container.slide .swiper-button-prev{
    left: 13%;
    right: auto;
}

.swiper-slide {
    padding-left: 10px;
    padding-right: 10px;
	position:relative;
}
}

.firstView.swiper-outer{
	position:relative;	
}

.firstView .swiper-container::after {
	position:absolute;
	content:"";
	width:30vw;
	max-width: 288px;
	height: 100%;
	max-height: 85px;
	top: calc(13% + 90px)!important;
	left:10%;
	transform: translate(0 , -50%);
	background-image:url(./assets/images/logoOnImage.png);
	background-size:contain;
	background-repeat:no-repeat;
	z-index: 2;
	mix-blend-mode: color-dodge;
	opacity: 0.94;
	pointer-events: none;
}

@media (width <= 782px) {
.firstView .swiper-container::after {
	top: calc(18% + 90px)!important;
	left:9%;
}
}

@media (width <= 460px) {
.firstView .swiper-container::after {
	top: calc(23.5% + 90px)!important;
	left:4%;
}
}

@media (width >= 1024px) {
.firstView .swiper-container::after {
	width:30vw;
	max-width: 288px;
	height: 100%;
	max-height: 85px;
	left:20%;
}
}
	
.firstView .swiper-container::before {
  position: absolute;
  content: "下北半島西側・津軽海峡に面する村";
  width: 30vw;
  max-width: 40em;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
  text-shadow: 1px 1px rgba(0,0,0,0.6);
  height: 100%;
  line-height: 1.4;
  max-height: 78px;
  padding-left: 100px;
  display: flex;
  align-items: center;
  top: 13%;
  left: 10%;
  transform: translate(0, -50%);
  background-image: url(./assets/images/tizuMark.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  z-index: 2;
  opacity: 0.94;
  color: #fff;
  pointer-events: none;
}

@media (width <= 782px) {
.firstView .swiper-container::before {
	top:18%;
	width:58%;
	left:9%;
}
}

@media (width <= 460px) {
.firstView .swiper-container::before {
	top:26%;
	left:3%;
}
}

@media (width >= 1024px) {
.firstView .swiper-container::before {
	width: 30vw;
	max-width: 40em;
	height: 100%;
	max-height: 78px;
	padding-left:100px;
	top:13%;
	left:20%;
	transform: translate(0, -50%);
}
}
		
.tribe-events-schedule__datetime_outer{
	column-gap:0;
}
h2.tribe-events-schedule__datetime {
    font-size: var(--wp--preset--font-size--medium);
    font-weight:400;
    color:#000!important;
    padding-left:0.3rem;
    position:relative;
    margin-bottom: 0.7em;
}

h2.tribe-events-schedule__datetime::before {
    content:"\f783";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
	font-size:1.4em;
    display: inline-block;
	margin-right:8px;
    z-index:1;
	transform:rotate(0deg) translate(0, -3px);
	color:green;	
}

.tribe-events-schedule__datetime_outer > p {
   background-color: var(--wp--preset--color--primary);
    padding: 2px 5px;
    border-radius: 8px 8px 0 8px;
    color: #fff;
    min-width: 2.4rem;
    text-align: center;
}

.tribe-events-schedule__separator{
    font-weight:600;
}

/* swiper pickup */

.swiper-container.pickup{
	margin-left:auto;
	margin-right:auto;
	margin-bottom: 1.5rem;
	padding: 0 3em;
	max-width: 1600px;
	position:relative;
}
.swiper-container.pickup img{
	object-fit:cover;
    object-position: top;
    width:100%!important;
	height:auto;
    aspect-ratio: 320 / 100;
	border:solid 1px #ccc;
}

.swiper-container.pickup span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: rgba(0,0,0,0.3);
    width: 0.9rem;
    height: 0.9rem;
	border:none;
}

.swiper-container.pickup span.swiper-pagination-bullet {
    width: 0.9rem;
    height: 0.9rem;
    opacity:0.7;
    background-color: rgba(17,159,209,0.7);
}

.swiper-container .pickup-title {
    font-size: calc(var(--wp--preset--font-size--small) * 0.92);
}

/* footer */

footer p {
    font-size: 16px!important;
}

footer.wp-block-template-part {
    background-color: #8ED7E8;
}

.footerBottom {
	max-width:1360px;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
}

.footerBottom > div:nth-child(2) {
    display:flex;
    justify-content:end;
}

@media (781px <= width <= 860px) {
.footerBottom > div:nth-child(2) > div > div{
	margin:0;
	flex-direction:column;
	width:100%;
	gap:0;
}	
}

@media (width <= 782px) {
.footerBottom > div:nth-child(2) {
	margin-top:1rem;
}	
}

footer.wp-block-template-part > div {
    padding: 0!important; 
}

footer {
    position: relative;
}
/*
footer > div > div.wp-block-group.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-51.wp-block-group-is-layout-constrained::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--wp--preset--color--primary);
    background-blend-mode: multiply;
    opacity: 0.8;
    z-index: -1;
}

footer > div > div.wp-block-group.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-51.wp-block-group-is-layout-constrained {
    position: relative;
    z-index: 1;
}
*/

/* title */

.title-happa1 p {
	display:inline;
	position:relative;
	padding-left: 1.2rem;
	padding-top: 5px;
	padding-bottom:0.8rem;
	padding-right:1rem;
	font-size:0.9em;
	top: 0.5rem;
}

.title-happa1 p::before {
    position: absolute;
    content:"";
    width: 1.2rem;
    height: 1.2rem;
    border-left: solid 3px #F8D67A;
    top: 50%;
    left:0;
    transform: rotate(30deg) translate(0,-50%);
    z-index:1;
}

.title-happa1 p::after {
	left:auto;
	right:-0.6rem;
}

.title-happa1 h2 {
    padding: 0 0 0 0!important;
    margin: 1.4rem 0 0 0!important;
}

.title-happa1 {
    margin-bottom: 3vw;
}

.title-happa1.centerbox {
    display: flex;
    flex-direction: column;
    padding-bottom: 2em;
	padding-top:6vw;
	z-index:1;
}

.title-happa1.centerbox h2 {
	text-align:center;
	font-size: var(--wp--preset--font-size--large);
}

.tribe-events-calendar-list__event-title{
	display:inline;
    position:relative;
	padding-left:1.5rem!important;
	font-size:clamp(1.119rem, 1.119rem + ((1vw - 0.234rem) * 1.116), 1.75rem);
}

.tribe-events-calendar-list__event-title{
	border:solid;
}

.title-happa2.marginbt{
	margin-left:3.5rem;
}

.tribe-events .tribe-events-calendar-list__event-datetime {
    font-size: var(--wp--preset--font-size--medium);
}

.sideNavi h3.title-happa2 {
    width: 100%;
    margin-left: 0;
    margin-right: auto;
    text-align: center;
    background-color:var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--medium)!important;
    position:relative;
    padding:0.3em;
	border-radius:10px 10px 0 0;
    color:#fff;
margin: 0 0 1.4em 0!important;
}

@media (width <= 782px) {
body.single-guide .sideNavi h3.title-happa2 {
    display: none!important;
}
}

.title-wrapper {
   text-align: left;
   padding-bottom: 3rem!important;
   padding-top: 0!important;
   padding-left: 0;
   width: auto;
   max-width: 100%;
   margin: 0 0!important;
}

@media (width <= 782px) {
.title-wrapper {
	text-align:center;
	margin-bottom:1rem;
	position: relative;
	left: -0.3%;
	margin-left: auto!important;
	padding-left: 0!important;
	}
}

.tribe-events-single-event-title,.title-happa4,
.tribe-events-calendar-latest-past__event-title{
   position:relative;
    padding-left:1.9rem;
    background-color:#FBF1CC;
    padding: 0.2rem 0.4rem 0.2rem 3rem!important;
   margin-bottom: 0.2rem;
    font-size: calc(var(--wp--preset--font-size--medium) * 1.1);
    
}

.tribe-events .tribe-events-calendar-latest-past__event-date-tag-month,.tribe-events .tribe-events-calendar-latest-past__event-date-tag-year {
    
    font-size: var(--wp--preset--font-size--small);
    font-weight:400;
}

.tribe-events-calendar-latest-past__event-datetime span,
.tribe-events-calendar-latest-past__event-date-tag-month,
.tribe-events-calendar-latest-past__event-date-tag-daynum
{
    
    font-size: var(--wp--preset--font-size--small)!important;
    font-weight:400!important;
}

.tribe-common .tribe-common-h5, .tribe-common .tribe-common-h6,.tribe-common p{
    	
}
.tribe-common h6,.tribe-common p{
    font-size: var(--wp--preset--font-size--medium)!important;	
}
.tribe-events-calendar-latest-past__event-date-tag-month,
.tribe-events-calendar-latest-past__event-date-tag-year
{
    
    font-size: calc(var(--wp--preset--font-size--small) * 0.8)!important;
    font-weight:400!important;
}

.tribe-events-calendar-latest-past__event-date-tag-daynum{
    
    font-size: var(--wp--preset--font-size--large)!important;
    font-weight:400!important;	
}

.ecs-event h4.entry-title.summary::before,
.ecs-event h4.entry-title.summary:hover::before,
.tribe-events-calendar-list__event-title::before,
.tribe-events-single-event-title::before,
.tribe-events-calendar-latest-past__event-title::before{
    position: absolute;
    content:"\f024";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size:0.87em;
    display: inline-block;
    margin-right:8px;
    z-index:1;
    top: 0;
    left: 1.2em;
    transform: rotate(-10deg) translate(0, 1.2em);
    color:orange;
}

.single .tribe-events-single-event-title{
	padding-left:2.9em!important;
}

.post-type-archive.post-type-archive-tribe_events .tribe-events-calendar-list__event-title::before{
    position: absolute;
    content:"\f024";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size:0.87em;
    display: inline-block;
    margin-right:8px;
    z-index:1;
    top: 0;
    left: 0;
    transform: rotate(-10deg) translate(0, 0);
    color:orange;

}

.tribe-events-single-event-title::before{
    position: absolute;
    content:"\f024";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size:1em;
    display: inline-block;
    margin-right:8px;
    z-index:1;
    top: 0;
    left: 1.2em;
    transform: rotate(-10deg) translate(0, 1.3em);
    color:orange;
}

.home .ecs-event h4.entry-title.summary a::before{
   position: absolute;
    content:"\f024";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size:0.87em;
    display: inline-block;
    margin-right:8px;
    z-index:1;
    top: 50%;
    left: 1.2em;
    transform: rotate(-10deg) translate(0, -50%);
    color:orange;
}

.home .ecs-event h4.entry-title.summary::before{
	display:none;
}

.ecs-event h4.entry-title.summary::before,
.ecs-event h4.entry-title.summary:hover::before{
	left:1em;
}

/******/

@media (width < 1200px) {
.btFukidasi > div{
	width:96%;
	margin-left:auto;
	margin-right:auto;
}
}

.newsTabBox {
    width: 96%;
	position:relative;
}

.newsBoxOuter .title-happa1::before {
    position: absolute;
    content: "";
    width: 15vw;
    top: auto;
    bottom: -45px;
    right: 17%;
    max-height: 69px;
    max-width: 132px;
    background-image: url(./assets/images/untanSetumei.svg);
    background-repeat:no-repeat;
    background-position:center;
    background-size: cover;
    z-index:1;
    aspect-ratio: 127 / 49;
}
@media (width > 940px) {
	.newsBoxOuter .title-happa1::before {
    right: 13%;
	}
}

@media (width < 400px) {
.newsBoxOuter .title-happa1::before {
    position: absolute;
    content: "";
    width: 15vw;
    top: auto;
    bottom: -30px;
    right: 2%;
    background-image: url(./assets/images/untanSetumei.svg);
    background-repeat:no-repeat;
    background-position:center;
    background-size: cover;
    z-index:1;
    aspect-ratio: 127 / 49;
}
}

.newsBoxOuter .title-happa1::after {
    position: absolute;
    content: "";
    width: 15vw;
    max-width: 122px;
    height: 20vw;
    max-height: 167px;
    right: 2%;
    bottom: -110px;
    background-image: url(./assets/images/untanTop1.png);
    background-repeat:no-repeat;
    background-position: center bottom;
    background-size: cover;
    aspect-ratio: 122 / 167;
}

.newsBox h3{
    font-size: large;
    line-height: 1;
}

.newsBox h3 a{
    display:block;
	padding:1rem 0;
	width:100%;
	font-size:var(--wp--preset--font-size--medium);
}

@media (width <= 782px) {
.newsBox h3 a{
	padding:0.4rem 0 1.5rem 0;
}
}

.newsBoxRow li{
	border-bottom:dotted 2px var(--wp--preset--color--fourth);
	color: #000;
}

.newsBoxRow li > div {
    margin-bottom: 0;
    gap: 0.7rem;
    row-gap: 0;
    margin-top: 0.3rem;
    margin-bottom: 0.2rem;
	padding:0.8em;
}

@media (width <= 782px) {
.newsBoxRow li > div {
    row-gap: 0.7em;
}
}

.newsBoxRow li > div > div > div {
    margin-bottom: 0;
    line-height:1;
    gap:0.7rem;
    flex-wrap: nowrap!important;
}

.newsBoxRow li > div h3 {
    margin-bottom:0;
    padding-bottom:0;
}

.newsBoxRow li > div h3 a{
    display:block;
    padding:0 0 1em 0;
	line-height:1.6;
	position:relative;
}

@media (width <= 782px) {
.newsBoxRow li > div h3 a{
	margin-bottom:0.5em;
}
}

.taxonomy-category a {
    display: inline-block;
    background-color: #F9EFD3;
    padding: 0.4em 0.7em;
    color: var(--wp--preset--color--contrast);
    font-size: calc(var(--wp--preset--font-size--small) * 0.97);
    text-decoration:none;
    text-align:center;
    font-weight:400;
    transition:0.3s;
    line-height: 1.3;
}

.taxonomy-category a:hover {
    background-color: var(--wp--preset--color--primary);
}

.newsBox {
    width: 100%;
    max-width: 1360px;
    margin:auto;
	margin-top:-3.6rem;
}

.newsBox > div:nth-child(1){
	position:relative;
	z-index:4;
	top:-3em;
}

@media (600px < width <= 980px) {
.newsBox{
	column-gap:0!important;
}
}

@media (600px < width <= 980px) {
.newsBox > div:nth-child(1){
	flex:45%!important;
}
}

.newsBox > div:nth-child(2){
    flex:1;
    margin-right:calc(50% - 50vw);
    margin-left:5.2%;
	text-align:right;
}

.newsBox > div:nth-child(2) img{
	max-width:auto;
}

@media (width >= 1300px) {
.newsBox > div:nth-child(2) img{
	max-width:650px;
}
}

@media (width <= 782px) {
.newsBox > div:nth-child(2) img{
	max-width:80%;
	height:180px;
	object-fit:cover;
}
}

@media (width <= 480px) {
.newsBox > div:nth-child(2) img{
	max-width:80%;
	height:130px;
	object-fit:cover;
}
}

.newsBoxOuter {
    width: 100%;
	overflow: hidden;
	position:relative;
    margin-top: 0;
	padding:0 0 3.5em 0;
}

.newsBoxInner {
    border: solid 3px;
    padding: 0.8em 1.2em 2em 1.2em;
    margin-top: 2em!important;
	min-height:500px;
    background-color: #fff;
}

.jigyousyaBox .newsBoxInner {
    border: none;
    padding: 0.8em 1.2em 2em 1.2em;
    margin-top: 0!important;
	min-height:auto;
	background-color:#fff;
}

.jigyouBoxOuter {
    background-color: #F1EFEF;
    border: solid 3px var(--wp--preset--color--contrast);
	padding:0 1.5em;
	width:100%;
}

@media (width <= 1200px) {
.jigyouBoxOuter {
	width:96%;
	padding:0 0.5em;
}	
}

/*******/

.newsBoxBt a.wp-block-button__link.wp-element-button {
    border: solid 3px var(--wp--preset--color--contrast);
    border-radius: 25px;
    padding: 1em 1.8em;
    position: relative;
    text-align: center;
    transition: all 0.3s;
}

.newsBoxBt .active a.wp-block-button__link.wp-element-button,
.newsBoxBt a.wp-block-button__link.wp-element-button.active {
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--contrast);
}

.newsBoxBt .active a.wp-block-button__link.wp-element-button::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    background-color: var(--wp--preset--color--contrast);
    width: 25px;
    height: 25px;
    display: block;
	z-index:-1;
}

.newsBoxBt a.wp-block-button__link.wp-element-button {
    background-color: #fff;
    color: var(--wp--preset--color--contrast);
}

.newsBoxBt a.wp-block-button__link.wp-element-button:hover {
    background-color: var(--wp--preset--color--contrast);
    color: var(--wp--preset--color--secondary);
}

.newsBoxBt a.wp-block-button__link.wp-element-button:hover::after {
    background-color: var(--wp--preset--color--contrast);
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 15px;
    height: 15px;
    display: block;
}

.category-aboutevent .taxonomy-category a{
	background-color:var(--wp--preset--color--tertiary);
	font-weight:700;
}

.newsBoxBt .wp-block-button.newsGyouseiButton .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--contrast);
}

.newsBoxBt .wp-block-button.gikaiNewsButton .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--contrast);
    position: relative;
}

.newsBoxBt a.wp-block-button__link.wp-element-button:hover::after {
    display: none;
}


.newsBoxBt .wp-block-button .wp-block-button__link:hover::before {
	content: "";
	position:absolute;
	background-image:url(./assets/images/sankaku-ao.svg);
	background-repeat:no-repeat;
	background-position:center center;
	margin-right: 0.7rem;
	display: inline-block;
	width:10px;
	height:10px;
}

.newsBoxBt a.wp-block-button__link.wp-element-button {
    border: solid 3px var(--wp--preset--color--contrast);
    border-radius: 25px;
    padding: 1em 1.8em;
    width: auto; 
    max-width: 100%; 
    position: relative;
    text-align: center;
    transition: all 0.3s;
    font-size: var(--wp--preset--font-size--medium);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .newsBoxBt a.wp-block-button__link.wp-element-button {
        min-width: 200px; 
    }
}

@media (min-width: 1024px) {
    .newsBoxBt a.wp-block-button__link.wp-element-button {
        max-width: 300px; 
    }
}

.newsBoxBt .active a.wp-block-button__link.wp-element-button:hover::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    background-color: var(--wp--preset--color--contrast);
    width: 25px;
    height: 25px;
    display: block;
	z-index:-1;
}


/* 非表示用クラス */
.hidden {
    display: none;
}

/********/

.contentBox {
    padding: 0 1.5em 1em 1.5em;
	background-color:#fff;
	border:solid;
}
@media (width < 782px) {
.single-guide .contentBox {
    margin-top: 1em!important;
	padding:0 1em 1em 1em;
	width:100%;
}
}
@media (width >= 1024px) {
	.contentBox {
	margin-top:2em!important;
}
}

@media (width <= 1024px) {
	.sideNavi{
		flex:0 0 32%!important;
		padding-top:0!important;
	}
}


.sideNavi .newslist li {
   padding: 1em 0.7em;
    position: relative;
    border-bottom: dotted 1px var(--wp--preset--color--contrast);
}
@media (width <= 1024px) {
.sideNavi .newslist li {
   padding: 1em 0;
}
}
.sideNavi .newslist li a{
	display:inline-block;
	width:auto;
	color: var(--wp--preset--color--contrast);
}

.sideNavi .newslist li::after {
	position:absolute;
	content:"";
	width:13px;
	height:19px;
	top:50%;
	right:0;
	transform:translate(0,-50%);
}

.post-type-magazinerokkasyo .sideNavi .newslist li::after {
	top:40%;
}

.sideNavi h3.wp-block-post-title {
    margin: 0;
    padding: 0;
	font-weight:400!important;
}

.sideNavi h3.wp-block-post-title a {
	font-weight:400!important;
	padding: 0.8em 0.2em;
}

.archive.post-type-archive-magazinerokkasyo .wp-block-query-title.subTitle,
.archive.post-type-archive-recommendbooks .wp-block-query-title.subTitle{
	display:none;
}

/** megamenu in sideNavi **/

.sideNavi .megaMenuBox.inPage::after,
.sideNavi .megaMenuBox.inPage::before{
	position:absolute;
	display:none;
}

.sideNavi .megaMenuBox.inPage{
    display:block;
    padding: 0.5em;
    border: none;
    background-color: rgba(255,255,255,1)!important;
}

.sideNavi .megaMenuBox.inPage div {
    display: block;
}

.sideNavi .megaMenuBox.inPage div {
    display: block;
}

.sideNavi .megaMenuBox.inPage > div > div,
.sideNavi .megaMenuBox.inPage > div{
	padding:0;
}

.sideNavi #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item a,
.sideNavi .megaMenuInBox.menulink ul li a{
    display: block;
    padding:0.5em!important;
	background-color:#e8f6f9;
	transition:0.3s;
	border-radius:5px;
	font-size:var(--wp--preset--font-size--small);
}

.sideNavi .menulink ul,
.sideNavi ul.menulink {
    padding: 0;
    gap: 1em!important;
    margin-top: 1em;
}

.sideNavi .megaMenuInBox h3.subtitle,
.sideNavi .megaMenuInBox h4.subtitle {
	font-size: var(--wp--preset--font-size--medium)!important;
	margin-top: 0.7em!important;
	padding-bottom: 0.4em;
	border-bottom: solid 1px #ccc;
}

.sideNavi #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
.sideNavi #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item a, 
.sideNavi #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item a,.megaMenuBox.inPage .megaMenuInBox div ul li a,.megaMenuInBox.menulink ul li a{
    display: block;
    padding:0.5em!important;
	background-color:#ffffff;
	transition:0.3s;
	border-radius:10px;
	font-size: calc(var(--wp--preset--font-size--medium) * 0.94);
}

.megaMenuBox.inPage .megaMenuInBox div ul li a{
	padding:0.8em !important;
}

.sideNavi .megaMenuBox.inPage .megaMenuInBox div ul li a{
	padding:0.5em !important;
}

@media (width <= 782px) {
.sideNavi #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
.sideNavi #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item a, 
.sideNavi #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item a,.megaMenuBox.inPage .megaMenuInBox div ul li a,.megaMenuInBox.menulink ul li a{
   font-size: var(--wp--preset--font-size--medium);
}
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-columns-12-of-12 {
    width: 100%;
    margin-top: 1.5em;
  }

.sideNavi .megaMenuBox.inPage .megaMenuInBox.menulink div ul li a{
	padding:1.2em 0.5em!important;
	max-width:94%;
	margin-left:auto;
	margin-right:auto;
}

.sideNavi .megaMenuInBox ul {
	gap:0.1em;
	margin-bottom: 1.4em;
}

/***/

#tribe-events, #tribe-events-pg-template, .tribe-events-pg-template {
    padding: 0;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    min-height: 700px;
    padding-bottom: var(--tec-spacer-14);
    padding-top: 0!important;
}

.tribe-events .tribe-events-l-container {
    min-height: 600px;
    padding-bottom: var(--tec-spacer-12);
    padding-top: var(--tec-spacer-11)
}

.tribe_events div time {
    padding-right:1.6rem;
}

.tribe-embed a,.tribe-events-event-meta a,.tribe-events-single a {
    color: var(--wp--preset--color--fourth);
    font-size:var(--wp--preset--font-size--medium)!important;
    text-decoration: none
}

.tribe-common .tribe-common-anchor-thin:active,.tribe-common .tribe-common-anchor-thin:focus,.tribe-common .tribe-common-anchor-thin:hover {
    border-bottom: 0 solid rgba(255,255,255,0)!important;
}

.tribe_events a{
    border-bottom:none;
}

.tribe_events div.kousinbi  time{
    padding-right:1.6rem;
	position:relative;
	font-size:calc(var(--wp--preset--font-size--small) * 0.9)!important;
}

.tribe_events div.kousinbi time::before {
	content:"投稿日：";
	width:3rem;
	height:1em;
	top:50%;
	left:0;
	transform:translate(0,-50%);
}

.sideNavi h2.tribe-events-schedule__datetime span{
	font-size:var(--wp--preset--font-size--small);
    line-height:1;
}

.sideNavi h2.tribe-events-schedule__datetime {
    margin: 1rem 0 0 0;
    padding-left:1rem;
    position:relative;
}

.sideNavi h2.tribe-events-schedule__datetime::before{
position:absolute;
    content:"";
	width:15px;
	height:19px;
    left:0;
    top:0;
	background-image:url(./assets/images/side-hata.svg);
	background-repeat:no-repeat;
	background-size:cover;
}

.sideNavi h2.tribe-events-schedule__datetime span{
    line-height:1;
}

.sideNavi span.tribe-events-schedule__separator {
    font-size: 0.8rem!important;
}

a.tribe-events-c-ical__link {
    font-size: calc(var(--wp--preset--font-size--small) * 0.86)!important;
}

/**********/
/*
.serviceBox{
	max-width:1024px!important;
	border:solid;
}

.noBack {
    background-color: rgba(255,255,255,0);
}

.page_top_btn {
    width: 5em!important;
    height: 5em!important;
    border-radius: 100%!important;
    background-color: var(--wp--preset--color--contrast)!important;
	background-image: url(./assets/images/pageTopsankaku.svg);
	background-position:center 16px;
    border: none!important;
	box-shadow: 0 0 0 2px rgba(255,255,255,.8),0 0 0 2px rgba(255,255,255,.8)!important;
	right:3%!important;
	bottom:19%!important;
	z-index:5!important;
}
*/

.page_top_btn {
    width: 5em!important;
    height: 3em!important;
    border-radius: 0;
    background-color: rgba(100,100,100,0.9);
    background-image: url(./assets/images/pageTopsankaku.svg);
    background-position: center 8px;
    background-size: 20px;!;
    border: none!important;
    box-shadow: 0 0 0 2px rgba(255,255,255,.8),0 0 0 2px rgba(255,255,255,.8)!important;
    right: 3%!important;
    bottom: 0!important;
    z-index:5!important;
}

.page_top_btn::after{
	content:"上へ戻る";
	position:absolute;
	width: 96%;
	height:1rem;
	bottom: 28%;
	left:50%;
	transform:translate(-50%,0);
	background-position:center 15px;
	font-size: medium;
	color: #fff;
	text-align: center;
}

.page_top_btn{
	opacity:1;
}
/*
.h-illbox {
    position: absolute;
    width: 100%;
    max-width: 1460px;
	padding-left:1.4rem;
	padding-right:1.4rem;
    left: 50%;
    transform: translate(-50%,0);
	top:0rem;
}

@media (width <= 1600px) {
.h-illbox {
	top:-1rem;
}
}

@media (width <= 782px) {
.h-illbox {
	top:-1rem;
}
}

@media (width <= 460px) {
.h-illbox {
	gap:0!important;
}
}

.h-illbox > div:nth-child(2) {
    position: relative;
    top: 2.5rem;
    width: 30%;
    justify-content:space-between;
}

@media (width <= 1024px) {
.h-illbox > div:nth-child(2) {
    width: 40%;
}	
}

@media (width <= 782px) {
.h-illbox > div:nth-child(2) {
    width: 50%;
}	
}

@media (width <= 600px) {
.h-illbox > div:nth-child(2) {
    width: 60%;
    top: 1.2rem;
}	
}

@media (width <= 460px) {
.h-illbox > div:nth-child(2) figure:nth-child(1) {
    position:relative;
    right:auto;
	left:1rem;
	top:0.5rem;
}
}

.h-illbox > div:nth-child(2) figure:nth-child(1) {
    position:relative;
    right:-4rem;
}

.h-illbox > div:nth-child(2) figure:nth-child(2) {
    padding-top: 0;
    margin-top: -2.6rem;
}

@media (width <= 1024px) {
.h-illbox > div:nth-child(2) figure:nth-child(2) {
    padding-top: 0;
}	
}

.h-illbox > div:nth-child(2) figure:nth-child(3) {
    position:relative;
    top:-1rem;
}

@media (width <= 1024px) {
.h-illbox > div:nth-child(2) figure:nth-child(3) {
    position:relative;
    top:1.5rem;
}
}
@media (width <= 782px) {
.h-illbox > figure{
	position:relative;
	top:1.6rem;
}
}

@media (width <= 460px) {
.h-illbox > figure{
	position:relative;
	top:2.4rem;
	width: 21%;
}
}

@media (width <= 350px) {
.h-illbox > figure{
	top: 2rem;
}
}
*/

.wp-block-navigation.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    gap: 10px;
}

.wp-block-navigation.pagination a {
    padding: 10px 15px;
    text-decoration: none;
    background-color: #f1f1f1;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.wp-block-navigation.pagination a:hover {
    background-color: #ddd;
}

.wp-block-navigation.pagination .current {
    background-color: #0073aa;
    color: white;
    pointer-events: none;
    border-radius: 5px;
}

body:(not.single-governmentinfo).single .title-wrapper {
    margin-bottom: 1rem;
    width: 100%;
    border-top:solid 3px var(--wp--preset--color--contrast);
    border-bottom: solid 1px var(--wp--preset--color--contrast);
    display: block!important;
    padding: 3em 1em!important;
    margin: 2em 0!important;
}

body:(not.single-guide).single .title-wrapper {
    margin-bottom: 1rem;
}

body.single-guide .title-wrapper {
	margin-bottom: 1rem;
	border-top:none;
	padding-top:3em!important;
	padding-bottom: 4em!important;
	border-bottom: dotted 5px #ccc;
	margin: 0 0 0.5em 0!important;
}

body.single .queryBox{
	padding-top:0;
	padding-bottom: 5rem;
}

.metaBox {
    justify-content: end;
    margin-top: 0.2rem;
}

.queryBox ul li {
    margin-bottom: 1rem;
}

@media (width >= 782px) {
.tribe-block.tec-block__archive-events {
    padding-top: 2.5rem;
}
}

.queryBox .titleBox {
    padding: 2rem 2rem 1.5rem 2rem;
    border-bottom: solid 5px #efefef;
    position: relative;
    top: -2rem;
}

.queryBox ul.wp-block-list {
    line-height: 1;
    margin: 0.5rem 0 3rem 0.5rem!important;
    padding: 0.4em 0.8em;
    display: flex;
    list-style-type: none;
    column-gap: 1em;
    color: #333;
    background-color: #FBF1CC;
}

@media (width < 480px) {
.queryBox ul.wp-block-list {
	flex-direction:column;
	gap:0.7rem;
	padding:0.8rem;
}	
}

.queryBox ul.wp-block-list li{
    margin-bottom:0;    
}

@media (width < 480px) {
.queryBox ul.wp-block-list li{
    border-bottom:dotted 1px #ccc;
	padding-bottom:0.3rem;
}
}

.wp-block-post-date time {
    color: #333;
}

select#wp-block-archives-3,
.taxonomy-dropdown {
    font-size: calc(var(--wp--preset--font-size--medium) * 0.92);
}

select#wp-block-archives-3,
.taxonomy-dropdown {
    padding:0.2rem;
	margin:1em;
	min-width:10em;
}

figcaption.wp-element-caption {
    color: #333;
    font-size: var(--wp--preset--font-size--small);
    margin-bottom: 0.3em;
	min-width:10em;
}

/************/

@media (width <= 782px) {
ul#mega-menu-max_mega_menu_1 {
	padding: 1rem 0.5rem!important;
}
}

@media (782px < width <= 1024px) {
.wp-block-columns.is-not-stacked-on-mobile.is-layout-flex.wp-container-core-columns-is-layout-1.wp-block-columns-is-layout-flex {
    flex-direction: column;
    row-gap: 0;
}
}

/************/

.kensakuBox {
    padding-bottom: 1.5rem;
}

@media (width <= 600px) {
.kensakuBox{
	flex-direction:column;
}
}

@media (width <= 600px) {
.kensakuBox figure{
	max-width:150px;
	max-height:150px;
}
}

/***************/

.tribe-block__venue{
    display: none;
}

@media (width <= 782px) {
.tribe-events .tribe-events-l-container{
	padding-top:2rem!important;
}
}

.tribe-events-c-subscribe-dropdown__container,.tribe-events-c-subscribe-dropdown__container{
	display:none!important;
}

.sideNavi .tribe-events-schedule {
    margin: 0 0 0;
}

.tribe-common-b2{
	margin-top:1.4rem!important;
	margin-bottom:1.4rem!important;
}

.tribe-common .tribe-common-h6{
	font-size:var(--wp--preset--font-size--m-large)!important;
}

/* fade animation*/

.fadeup, .l_fadein, .r_fadein {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.fadeup {
  transform: translateY(20px);
}

.fadeup.visible {
  opacity: 1;
  transform: translateY(0);
}

/**********/

span.page-numbers.current {
    border-bottom:solid 1px var(--wp--preset--color--fourth);
    padding-bottom: 0.3rem;
    margin: 0.6rem;
}

a.page-numbers {
    padding: 0.6rem 0.6rem 0.3rem 0.6rem;
    font-weight: 700;
    text-decoration: none!important;
}

a.page-numbers::hover {
    text-decoration:underline dashed!important;
	text-underline-offset: 0.6rem!important;
}

/***************/

.tribe-events-sub-nav li a {
	background: rgba(255,255,255,0);
    color: #0d56a3;
    display: block;
    padding: 0.5rem;
    position: relative;
    white-space: normal;
	font-size:var(--wp--preset--font-size--medium);
    line-height: 1.6;
	font-weight:400;
}

.tribe-events-sub-nav li a:hover,.tribe-events-sub-nav li a:visited {
    color: #0d56a3;
    font-weight: 400;
}

#tribe-events-footer:after,#tribe-events-footer:before,#tribe-events-header:after,#tribe-events-header:before {
    background-color: #fff;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    width: 1px;
    z-index: 1;
	opacity:0;
}

#tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-next,#tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-previous,#tribe-events-header .tribe-events-sub-nav .tribe-events-nav-next,#tribe-events-header .tribe-events-sub-nav .tribe-events-nav-previous {
    width: 48%;
}

.tribe-events-c-ical {
    display: none;
}

.tribe-common p {
	font-size:var(--wp--preset--font-size--medium);
}

/******/

button.tribe-common-c-btn.tribe-events-c-search__button {
    background-color: var(--wp--preset--color--contrast)!important;
}

time.tribe-events-calendar-list__event-datetime {
    padding: 0.2em 0.2em 0.2em 0.4em!important;
    border-bottom: dashed 1px var(--wp--preset--color--contrast)!important;
    color:#000!important;
}

/*********/

div#pgOver {
    position: absolute;
    bottom: 5%;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1;
}


div#pgOver .swiper-pagenation {
    width: 30%;
}

.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    width: auto!important;
    position: relative!important;
}

.backEventBox div#pgOver,
.pickup div#pgOver{
    display: none;
}

.swiper-container.slide div#pgOver {
    position: absolute;
    right: auto;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 0;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding: 1em;
    column-gap: 1em;
    align-items:center;
}

@media (width >=1600px) {
.swiper-container.slide div#pgOver {
    bottom: 1em;
}
}

.swiper-container.slide .swiper-pagination{
	padding:0!important;
	line-height:1!important;
}

.swiper-container.slide .type-slide div figure {
    max-height: 830px;
}

.swiper_pause,
.swiper_start {
    cursor: pointer;
	line-height: 1!important;
	font-size:calc(var(--wp--preset--font-size--small) * 0.92);
	padding:0.4rem 0.8rem;
	background-color:rgba(255,255,255,0.9);
	border-radius:5px;
	border:none;
}

@media (width <= 370px) {
.swiper-container.slide div#pgOver {
    width:100%;
}
}

.justified-gallery>div>div>a>.caption, .justified-gallery>div>div>.caption, .justified-gallery>div>div .caption {
    font-size: var(--wp--preset--font-size--small);
    
}
/*******/

.arcContents {
    width: 70%;
    display: flex!important;
	margin-top:0!important;
}

.arcContents .right-aligned{
	align-self:flex-end;
}

.arcContentOver {
    padding-bottom: 1rem;
    border-bottom: dotted 3px #ccc;
	align-items:start;
	padding-top:1em;
}

.linkYa{
	position:relative;
	padding-left: 34px;
}

.linkYa::before{
	position:absolute;
	content:"";
	width:30px;
	height:30px;
	left:0;
	background-image:url(./assets/images/linkYa.svg);
	background-repeat:no-repeat;
	background-position:center center;
}

.arcContents .taxonomy-category {
    position: relative;
    top: 0.5rem;
}

@media (width <= 560px) {
.arcContentOver{
	flex-direction:column;
	justify-content:start!important;
	align-items: baseline;
	gap:0;
}
	.arcContents{
		width:100%;
	}
.arcContentOver figure{
    width: 100%!important;
	}
.arcContentOver figure img{
	aspect-ratio: 16 / 3;
	}	
}

/*********/

.queryBox.osirase > div {
    display: flex;
    flex-direction: column;
   min-height: 90vh;
}

.queryBox.osirase .wp-block-group.has-global-padding {
    flex: 1;
}

.queryBox.osirase .wp-block-query-pagination{
    margin-top: auto;
    align-self: center;
    padding: 2rem 0 3rem 0;
}

.queryBox h2 {
    font-size: clamp(1.063rem, 0.949rem + 0.57vw, 1.375rem)!important;
    line-height:1.5;
    padding-bottom:0.5em;
    position: relative;
    margin-top:0!important;
    display:flex;
	align-items:start;
    gap: 0.5em;
    justify-content:start;
}

.queryBox h2::before {
    content:"";
	position:relative;
    width:0.4em;
    height: 0.5em;
    left:0;
    top: 0.45em!important;
    background-image:url(./assets/images/sankaku-orange.svg);
    background-repeat:no-repeat;
}

body.single-post .metaBox {
    padding-top: 1.5em;
}

/************/

.aaabox {
    display: flex;
    flex-direction: column;
    min-height: 60vh;
}

.aaabox .has-global-padding {
    flex: 1;
}

.aaabox .pageNationPage {
    margin-top: auto;
	max-width:100%;
}

/**************/

.share{
	margin: 3em 0;
	background-color: #EEEFF0;
	padding: 0.8em 0 0.8em 0;
	align-items: center;
	padding: 0;
	border-radius: 10px;
}

.share ul {
    display: flex!important;
    list-style-type:none!important;
    gap:1em!important;
    align-items: center!important;
    justify-content: center!important;
    margin: 0!important;
    padding-left: 0!important;
	padding-top:0.5rem!important;
}

.share ul li a{
    display:block;
    border-radius:8px;
    background-color:var(--clear-color);
}

.swiper_start {
    position: relative;
    width: 33px;
    height: 27px;
    border: none;
    cursor: pointer;
}

.swiper_start::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 12px; /* 再生ボタンの形 */
    border-color: transparent transparent transparent #000; /* 色を変更 */
}

.swiper-container.slide .type-slide div figure{
	max-height:830px;
}

.swiper-container.slide .type-slide div figure img{
	width: 100%;
	height:auto;
	aspect-ratio:1360 / 830;
	object-fit:cover;
}

@media (width <= 782px) {
.swiper-container.slide .type-slide div figure img{
	aspect-ratio: 1360 / 1040;
	object-fit:cover;
}
}

/***************/

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 {
  padding: 0 0px 0.8rem 0px;
}

.megaMenuInBox ul {
    display: flex;
    flex-wrap: wrap;
    column-gap:0.5em;
}

.megaMenuInBox li {
    display: inline-block;
    padding: 0 0 0 0;
    word-break: break-word;
    text-align: center;
}

.megaMenuInBox li h4 {
    margin: 0;
    white-space: normal;
	text-align:left;
}

@media (width <= 1024px) {
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column{
    float:none;
}
}
@media (width <= 1024px) {
  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-columns-3-of-12 {
    width: 100%;
  }
}
@media (width <= 1024px) {
  #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-columns-4-of-12 {
    width: 100%;
  }
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link {
  font-size: var(--wp--preset--font-size--medium);
	color:#000;
	transition:0.3s;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-toggle-on > a.mega-menu-link{
	color:var(--wp--preset--color--contrast);
	position:relative;
	background-color: #f1f1f1;
	border-radius: 10px 10px 0 0;
	padding: 0 1.2em;
	text-decoration:underline;
	text-underline-offset: 6px;
	text-decoration-style: dashed;
}
@media (width > 782px) {
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-toggle-on > a.mega-menu-link{
	font-size: 1.4em;
}
}

.mega-sub-menu a {
    font-size: calc(var(--wp--preset--font-size--medium) * 0.94);
}

@media (width <= 782px) {
.mega-sub-menu a {
    font-size: calc(var(--wp--preset--font-size--medium) * 0.92);
}
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item .megaMenuInBox.bnBox{
	padding:0 15px 15px 15px;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item .megaMenuInBox figure a {
    padding: 0!important;
	display:inline-block!important;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item .megaMenuInBox figure figcaption.wp-element-caption{
	font-weight:600;
	margin-top:0;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row {
  max-width: 1600px;
  display: block;
  position: relative;
  left: 50%;
  transform: translate(-50%,0);
}

@media ( width >= 782px) {
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row,
.mega-menu-item > ul.mega-sub-menu{
  max-height: 80vh!important;
  overflow-y: auto!important;
}
}

@media ( width >= 782px) {
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row:first-child{
	margin-bottom:1em;
}
}

/* */

.newsOne {
    border: solid 3px var(--wp--preset--color--contrast);
    max-width: 1024px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em!important;
    gap: 0 !important;
    position: relative;
    z-index: 1;
    border-radius: 10px 0 0 10px;
}

@media (width <= 782px) {
.newsOne {
	border-radius:10px 10px 0 0!important;
}
}

.newsOneTitleBox {
    background-color:var(--wp--preset--color--fourth);
    display:flex;
    align-items:center;
    justify-content:center;
    position: relative;
    padding-top: 3em;
    padding-bottom: 1em;
    border-radius: 10px 0 0 10px;
}

@media (width >= 1360px) {
.newsOne {
	margin-top: 3em!important;
}
}

@media (width <= 782px) {
.newsOneTitleBox {
    padding-top: 2em;
	padding-bottom:0.3em;
    border-radius: 8px 8px 0 0;
}
}

.newsOne h3.wp-block-heading::before {
    position: absolute;
    content: "";
    width: calc(var(--wp--preset--font-size--medium) * 2.2);
    height: calc(var(--wp--preset--font-size--medium) * 2.2);
    background-image: url(./assets/images/bikkuri.svg);
    background-size: 100%;
    border-radius: 50%;
    top: calc(20% + 0.7em);
    left: 50%;
    transform: translate(-50%, -50%);
    border: solid 3px red;
}

.newsOne h3.wp-block-heading {
        color: #000;
        font-weight: 700;
        font-size: calc(var(--wp--preset--font-size--medium) * 1.13);
        margin-top: 1em!important;
   }

@media (width <= 782px) {
    .newsOne {
        flex-direction: column;
        border-radius: 5px;
    }

    .newsOne h3.wp-block-heading {
        position: relative;
        text-align: center;
        padding: 0.8em 0.5em 0.5em 0.5em;
        margin-left: 0.5em;
        display: inline-block;
		margin-left:0.5em;
    }

.newsOne h3.wp-block-heading::before {
    top: -30%;
    left: 50%;
    }
}

.newsOneBox {
    background-color: #fff;
    padding: 0 1em 0 1em;
    flex: 0 0 calc(100% - 10em);
}

.newsOneBox .wp-block-query-no-results {
    margin-top: 0;
    padding-top: 0;
}

.newsOneBox .newsBoxRow li:last-child{
	border-bottom:none;
	color: #000;
}

.newsOneBox .newsBoxRow li > div {
	margin:0;
}

.newsOneBox .newsBoxRow li > div a{
	margin:0;
	padding: 0.5em 0.5em 0.5em 1em;
}

.newsBoxRow li > div h3 a::before,
.newsOneBox .newsBoxRow li > div a::before{
	content: "";
	position: absolute;
	background-image:url(./assets/images/sankaku-ao.svg);
	background-repeat:no-repeat;
	background-position:left center;
	font-size:var(--wp--preset--font-size--small);
	margin-right: 0.7rem;
	display: inline-block;
	top: 50%;
	transform: translate(0, -50%);
	font-weight:400;
	left: 0;
	line-height:1;
	width:6em;
	height:1em;
}

.newsBoxRow li > div h3 a::before{
	transform:translate(0,-110%);
}

.newsBoxRow li > div h3 a{
	padding-left:1em;
	line-height:1.3;
}

.newsBoxRow li > div h3 a:hover::before,
.newsOneBox .newsBoxRow li > div a:hover::before {
	background-image:url(./assets/images/sankaku-orange.svg);
	transition : 0.3s;
}

.newsOneBox .newsBoxRow li > div > div{
	align-self:center;
}

.wp-block-group.newsOne.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-20.wp-block-group-is-layout-flex {
    margin-top: 1em!important;
}

/**/

a.wp-block-button__link.wp-element-button {
    position: relative;
}

/*.ecs-event h4.entry-title.summary a::before,*/
a.wp-block-button__link.wp-element-button::before,
.menulink a::before {
	content: "";
	position: absolute;
	background-image:url(./assets/images/sankaku-ao.svg);
	background-repeat:no-repeat;
	background-position:center center;
	margin-right: 0.7rem;
	display: inline-block;
	top: 50%;
	transform: translate(-150%, -50%)!important;
	width:10px;
	height:10px;
}

.ecs-event h4.entry-title.summary a:hover{
	border: solid 2px var(--wp--preset--color--secondary);
}


/*.ecs-event h4.entry-title.summary a:hover::before,*/
a.wp-block-button__link.wp-element-button:hover::before,
.menulink a:hover::before{
	content: "";
	position: absolute;
	background-image:url(./assets/images/sankaku-orange.svg);
	background-repeat:no-repeat;
	background-position:center center;
	margin-right: 0.7rem;
	display: inline-block;
	top: 50%;
	transform: translate(-150%, -50%)!important;
	width:10px;
	height:10px;
}
.guideHeadBox p,.mega-sub-menu li h3:not(.subtitle) {
	font-size: calc(var(--wp--preset--font-size--large) * 0.9);
	position:relative;
	padding-left:1.5em;
	line-height:1;
	margin-top: 0.5em;
	margin-bottom: 1em;
	text-align:left;
}

.guideHeadBox p{
	font-size: var(--wp--preset--font-size--medium);
	margin-top: 0;
	line-height: inherit;
}

@media (width <= 1024px) {
div:has(h3:not(.subtitle)).textwidget.custom-html-widget {
    display: none;
}
}

.guideHeadBox p::before,
.guideHeadBox p::after,
.mega-sub-menu li h3:not(.subtitle)::before,
.mega-sub-menu li h3:not(.subtitle)::after{
    content:"";
    position:absolute;
    width:0.4em;
    height:1.15em;
    left:0;
    transform:rotate(20deg);
}

.mega-sub-menu li h3:not(.subtitle)::before{
    top:0;
    border-left:solid 3px var(--wp--preset--color--secondary);
}

.guideHeadBox p::before{
    top:50%;
    border-left:solid 3px var(--wp--preset--color--secondary);
	transform:rotate(20deg) translate(0 , -50%);
}
.guideHeadBox p::after{
    top:50%;
    border-right:solid 3px var(--wp--preset--color--secondary);
	transform:rotate(20deg) translate(0 , -50%);
}
.mega-sub-menu li h3:not(.subtitle)::after{
    top:-4px;
    border-right:solid 3px var(--wp--preset--color--secondary);
}
.guideHeadBox {
	padding: 1em 1em 1em 1em!important;
}

.guideHeadBox .taxonomy-guide_category {
    font-size:var(--wp--preset--font-size--medium);
}

.guideCategory p{
	padding-left:0.4em;
}
.guideCategory p::before,.guideCategory p::after{
	position:absolute;
	content:"";
	width:1em;
	height: 2px;
	background-color:var(--wp--preset--color--secondary);
	top: 50%;
	left: -1.3em;	
	transform:rotate(0deg);
}

/**osirase menu**/

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item div ul.pwcn-cat-list-ul{
   list-style-position:outside; 
   display:flex;
    column-gap:4em;
    row-gap:1em;
    flex-wrap:wrap;
    max-width:85%;
   margin-left: auto;
   margin-right: auto;
	list-style-type:none;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item div ul.pwcn-cat-list-ul li{
    padding:0!important;
    font-size:calc(var(--wp--preset--font-size--medium) * 0.94);
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item div ul.pwcn-cat-list-ul li a{
    padding:0!important;
	background-color:transparent;
}

@media (width > 1360px) {
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1[data-effect="fade_up"] li.mega-menu-item.mega-menu-megamenu.mega-toggle-on > ul.mega-sub-menu {
	box-shadow:0px 10px 12px -6px rgba(68, 68, 68, 0.15);
}
}

.mega-menu-item .kakuka {
    background-color: #fff;
    padding: 2em;
	margin-left:auto;
	margin-right:auto;
}

.kakuka h4.wp-block-heading {
    font-size: var(--wp--preset--font-size--medium);
    position:relative;
    margin-bottom:1.5em!important;
	padding-left:1.3em;
    left: 50%;
    transform: translate(-50%,0);
    display: inline-block;
    width: auto;
}

.mega-sub-menu li .kakuka h4.wp-block-heading::before,
.mega-sub-menu li .kakuka h4.wp-block-heading::after{
    content:"";
    position:absolute;
    width:0.4em;
    height:1.15em;
    left:0;
    transform:rotate(20deg);
}

.mega-sub-menu li .kakuka h4.wp-block-heading::before{
    top:0;
    border-left:solid 3px var(--wp--preset--color--secondary);
}

.mega-sub-menu li .kakuka h4.wp-block-heading::after{
    top:-2px;
    border-right:solid 3px var(--wp--preset--color--secondary);
}

/* top jigyousyaBox */

.tateButton .megaMenuInBox.menulink ul.wp-block-list {
   flex-direction: column;
   max-width: 480px;
   row-gap: 1.2em;
   padding-top: 0;
}

.tateButton {
    display: flex;
}
.tateButton > div {
    width: 100%;
}

.tateButton .menulink ul li, ul.menulink li{
	display: inline-block;
	max-width: 100%;
}

.jigyouTitleBox {
    padding: 1.5em 0 0em 0!important;
	flex-direction:column;
	gap:0.5em;
}

.jigyouTitleBox h3{
    position:relative;
    padding-left: 1.1em;
    line-height:1;
    margin-left:0;
    margin-top: 0;
    margin-bottom: 0;
    font-size: calc(var(--wp--preset--font-size--medium) * 1.2);
}

@media (width > 1200px) {
.jigyouTitleBox h3{
    font-size: var(--wp--preset--font-size--large);
	margin-top:0.5em;
}	
}

.jigyouTitleBox > p.text-link {
	padding:0;
}

@media (width > 782px) {
.jigyouTitleBox {
	flex-direction:row;
    padding: 1.5em 0 1.5em 0!important;
}
.jigyouTitleBox h3{
    margin-left:1em;
}
}

.jigyouTitleBox h3::after,
.jigyouTitleBox h3::before{
    content:"";
    position:absolute;
    width:0.4em;
    height:1.15em;
    left:0;
    transform:rotate(20deg);
}

.jigyouTitleBox h3::before{
    top:0;
    border-left:solid 3px var(--wp--preset--color--secondary);
}

.jigyouTitleBox h3::after{
    top:-4px;
    border-right:solid 3px var(--wp--preset--color--secondary);
}

.blueBox:has(div.jigyouBoxOuter) {
    display:flex;
    justify-content:center;
	padding-right:10px;
	padding-left:10px;
}

p.text-link {
    position:relative;
    padding: 0.2em 1.6em 0.2em 0.2em;
	font-size: var(--wp--preset--font-size--medium);
}

p.text-link a {
    position: relative;
    transition: 0.3s;
    padding-left: 1.2em;
}

p.text-link a::before {
    position: absolute;
    content: "";
    width: calc(100% + 10px);
    border-radius: 10px;
    height: calc(1.8em);
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    background-color: transparent;
    z-index: -1;
    transition: background-color 0.3s;
}

p.text-link a:hover::before {
    background-color: var(--wp--preset--color--primary);
}

p.text-link::before {
    position: absolute;
    content: "";
    width: 1.2em;
    height: 1.2em;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-image: url(./assets/images/sankaku-orange.svg);
    background-position: center center;
    background-repeat: no-repeat;
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row#mega-menu-777-1 {
    max-width: 1360px;
}

.jigyousyaBox .tateButton .megaMenuInBox.menulink ul li a {
    padding: 1em 0.5em!important;
}


/********/

.ecs-event-list{
	padding-left:0!important;
	padding-bottom: 1.5em;
}

.ecs-event {
display:block;
  border-bottom: 1px solid #ccc;
  padding: 2em 0 1.5em 0;
  grid-template-columns: 150px auto 36%;
  grid-template-rows:auto;
  column-gap: 2em;
}

.ecs-event h4.entry-title.summary {
  grid-column: 2;
  grid-row:1;
	position:relative;
	transition:0.3s;
}

@media (width >= 1024px) {
	
.ecs-event {
  display: grid;
}

.ecs-event .duration.time {
  grid-column: 2;
  grid-row:1;
}
}

.ecs-event h4.entry-title.summary a {
	position:relative;
	display: block;
	background-color: #fff;
	padding: 0.7em 0.8em 0.7em 2em;
	border-radius: 15px;
	margin-top: 0.5em;
	border-bottom:none;
	text-decoration:none;
	transition:0.3s;
}

@media (width > 600px) {
.ecs-event h4.entry-title.summary a {
	margin-top: 0.5em;
}

}

@media (width > 1024px) {
.ecs-event h4.entry-title.summary a {
	margin-top: 1.5em;
}
}

@media (width > 782px) {
.tribe-events-header__events-bar.tribe-events-c-events-bar.tribe-events-c-events-bar--border {
    position: relative;
    top: -1em;
}
}

.single-tribe_events .tribe-blocks-editor .tribe-events-schedule {
    border-bottom: dashed 0.5px green;
}

.ecs-event .duration.time {
    font-size: calc(var(--wp--preset--font-size--medium) * 0.9)!important;
    line-height: 1.4;
    display: flex;
    gap: 0.5em;
}

.ecs-event .duration.time::before {
    content: "\f073";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.2em;
    display: inline-block;
	margin-top:-2px;
	color:green;
}

.ecs-event .ecs-excerpt{
    font-size: calc(var(--wp--preset--font-size--medium) * 0.94)!important;
    line-height: 1.2;
}

.ecs-event .ecs-excerpt::before{
    content: "\f328";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.2em;
    display: inline-block;
	color:orange;
	padding-right:0.2em;
}

@media (600px < width < 1023px) {
	
.ecs-event {
	display:grid;
	grid-template-columns:30% auto;
	grid-template-rows:auto auto;
	padding-top: 1.5em;
}

.ecs-event .duration.time {
  grid-column: 2;
  grid-row:1;
}
	
.ecs-event h4.entry-title.summary {
  padding-top: 1em;
  padding-bottom: 0.8em;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  margin-left:0;
}

.ecs-event .ecs-excerpt {
  grid-column: 1 / span 2;
  grid-row: 2;
  padding: 0;
  margin: 0 1em 1em 1em;
}
}

.eventListInner {
    background-color: #E4F4FE;
    padding: 1.2em 1.2em 2em 1.2em;
}

@media (width < 500px) {
.eventListInner {
    padding: 1em 1em 2em 1em;
}
}

.eventListInner a:has(img) {
    display: block;
    margin-left: auto;
    margin-right: auto;
	margin-bottom:0.5em;
	text-align:center;
}

.eventListInner img {
    border-radius: 10px;
    border: solid 3px #fff;
    width: 100%;
    height: auto;
	max-width:300px;
}

.blueBox,
.yellowBox{
	position:relative;
}

.blueBox::before,
.yellowBox::before {
    content:"";
    position: absolute;
    width: 100vw;
    height:100%;
    min-height: 1000px;
    top:11em;
    left: 0;
    right:0;
    margin:auto;
    background-repeat:no-repeat;
    background-position: top center;
    background-size: cover;
    z-index:-1;
}

.yellowBox::before {
    background-image:url(./assets/images/backyellow.svg);
}

.blueBox::before {
    background-image:url(./assets/images/backblue.svg);
}

.newsBoxOuter.yellowBox::before {
    top: 1em;
}

.backEventBox.yellowBox::before {
    top:-2em;
}

.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color, .has-background){
	color:#333;
	transition:0.3s;
	font-size: var(--wp--preset--font-size--medium);
}

.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color, .has-background){
	background-color:#fff;
}
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color, .has-background):hover {
    color: #fff;
}

/******/

@media (width < 782px) {
.mega-sub-menu .textwidget.custom-html-widget{
	display:block;
}
}

@media (width <= 782px) {
.mega-sub-menu .textwidget.custom-html-widget h4 a{
	margin-bottom:1em;
}
}

.mega-sub-menu .textwidget.custom-html-widget h4 a{
	border-radius:0!important;
	border:solid 1px var(--wp--preset--color--contrast)!important;
	background-size: auto;
	background-repeat: repeat;
	text-shadow: 0 0 10px white;
}

@media (width >= 782px) {

.mega-sub-menu .textwidget.custom-html-widget {
    text-align: center;
    margin-bottom:0;
    cursor:pointer;
	position:relative;
	height:100%;
}

.mega-sub-menu .textwidget.custom-html-widget h4{
	margin: 0.6em 0 0 0;
}

.mega-sub-menu .textwidget.custom-html-widget button {
	padding: 1em 1em 1em 2.2em;
	position:relative;
	cursor: pointer;
	margin-bottom: 2em!important;
	font-size:var(--wp--preset--font-size--medium);
}

.mega-sub-menu .textwidget.custom-html-widget button::before {
	position:absolute;
	content:"";
	width:1em;
	height:1em;
	left:0.8em;
	top:50%;
	transform:translate(0 , -50%);
background-image:url(./assets/images/batu.png);	
	background-position:center center;
	background-size:cover;
}
}

.bnBox {
    padding: 0 1em;
}
/* menu banner */
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item figure a {
    padding: 0!important;
    border-radius: 0!important;
    background-color: transparent;
}
@media (width >= 782px) {
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item figure{
	margin-left:1em;
}
}

figure.wp-caption.alignnone {
    width: auto!important;
}

/*******/

.breadcrumbs span {
    color:#333;
}

.breadcrumbs a span{
    color:var(--wp--preset--color--contrast);
}

.breadcrumbs a.home {
    position: relative;
    padding-left: 1.5em;
    line-height: 1;
    margin-left: 0;
}

.breadcrumbs a.home::after{
 content: "\f015";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em;
    color:var(--wp--preset--color--secondary);
}

/****/

.taxonomy-list {
    list-style: none;
    padding: 1em;
}

.taxonomy-list li {
    margin-bottom: 8px;
}

.taxonomy-list li a {
    position: relative;
    padding-left: 1.5em;
    display: inline-block;
    text-decoration: none;
    color: #333;
}

.taxonomy-list li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(./assets/images/sankaku-orange.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 10px;
    height: 10px;
}
/*********/

.title-wrapper h1{
	font-size: var(--wp--preset--font-size--large);
	letter-spacing:2px;
	padding-left:0;
	padding-top: 0;
	padding-right:0;
}

.titleWrapperBox {
    padding: 3em 2em;
}

.titleWrapperBox p {
    position: relative;
    display: inline-block;
}

.single .title-wrapper h1{
	background-color: transparent;
	color: #333;
	font-weight:700;
	letter-spacing: 2px;
	font-size: calc(var(--wp--preset--font-size--large) * 1.2);
	background-color: #fff;
	margin-top:0.3em!important;
}

.single:not(.single-guide) .title-wrapper h1{
	border-top:2px solid var(--wp--preset--color--contrast);
	border-bottom:1px solid var(--wp--preset--color--contrast);
	padding: 1.7em 1em 2em 1em;
	margin-top:1em!important;
}

@media (width <= 782px) {
.single:not(.single-guide) .title-wrapper h1{
	padding: 1em 0.5em 1em 0.5em;
}	
}

/****　toukou ****/

.entry-content p:empty {
  min-height: 1em;
}

.single-guide .entry-content a{
	color:var(--wp--preset--color--contrast);
	position:relative;
}

.single-guide .entry-content a::before{
	content: "";
	position:relative;
	background-image:url(./assets/images/sankaku-ao.svg);
	background-repeat:no-repeat;
	background-position:center center;
	margin-right: 0.4rem;
	display: inline-block;
	top:-1px;
	width:10px;
	height:10px;
}*/

body:not(.home) .entry-content a {
	color: var(--wp--preset--color--contrast);
	position: relative;
}

body:not(.home) .entry-content a::before {
	content: "";
	position: relative;
	background-image: url(./assets/images/sankaku-ao.svg);
	background-repeat: no-repeat;
	background-position: center center;
	margin-right: 0.4rem;
	display: inline-block;
	top: -1px;
	width: 10px;
	height: 10px;
}

.page .columnOver > div > div:first-child h2,
.single .entry-content h2{
	position:relative;
	font-weight:600;
	padding: 0.2em 0.2em 0.2em 0.9em;
	color:#333;
	font-size: clamp(1.25rem, 1.013rem + 1.05vw, 1.688rem);
	margin: calc(clamp(1.25rem, 1.013rem + 1.05vw, 1.688rem) * 1.1) 0 calc(clamp(1.25rem, 1.013rem + 1.05vw, 1.688rem) * 1.1) 0!important;
	border-left: solid 4px var(--wp--preset--color--secondary);
	z-index:0;
	line-height: 1.9;
}
@media (width <= 1024px) {
.page .columnOver > div > div:first-child h2,
.single .entry-content h2{
	padding:0.5em 0.8em!important;
}
}

.page .columnOver > div > div:first-child h2::before,
.single .entry-content h2::before{
	position:absolute;
	content:"";
	width:98%;
	height: 2px;
	bottom: 0;
	left:0.2em;
	background-color: rgba(242, 193, 78, 0.4);
	z-index: -1;
}

.recentsBox h3,
.page .columnOver > div > div:first-child  h3,
.single .entry-content h3{
	font-weight:700;
	font-size: clamp(1rem, 0.864rem + 0.68vw, 1.375rem);
	color: #333;
	position: relative;
	z-index:0;
	padding-left: 1.5em;
	padding-right: 0.3em;
	padding-top: 0.55em;
	padding-bottom: 0.5em;
	display:block;
	background-color: rgba(242, 193, 78, 0.4);
	border-radius:5px;
}
.recentsBox h3,
.page .columnOver > div > div:first-child h3:not(.column3 .columnIn h3),
.single .entry-content h3:not(.column3 .columnIn h3) {
    margin: calc(clamp(1.125rem, 0.888rem + 1.05vw, 1.563rem) * 1.5) 0.5em calc(clamp(1.125rem, 0.888rem + 1.05vw, 1.563rem) * 1.5) 0 !important;
}

@media (width <= 1024px) {
.recentsBox h3,
.page .columnOver > div > div:first-child h3:not(.column3 .columnIn h3),
.single .entry-content h3:not(.column3 .columnIn h3) {
	padding:0.4em 0.3em 0.4em 1.2em;
}
}

.recentsBox h3::before,
.page .columnOver > div > div:first-child  h3::before,
.single .entry-content h3::before{
	position:absolute;
	content:"";
	width: 1em;
	height: 0.2em;
	top:50%;
	left: 0.3em;
	transform: translate( 0,-50%) rotate(-65deg);
	background-color: rgba(242, 193, 78, 1);
}

.sideNavi .newslist ~ div h4.wp-block-heading,
.recentsBox h4,
.page .columnOver > div > div:first-child h4,
.single .entry-content h4{
	font-weight:700;
	font-size: clamp(1rem, 0.886rem + 0.57vw, 1.313rem);
	margin: calc(clamp(1rem, 0.932rem + 0.3vw, 1.125rem) * 1.4) 0 calc(clamp(1rem, 0.932rem + 0.3vw, 1.125rem) * 1.4) 0!important;
	color: #333;
	position: relative;
	z-index:0;
	padding: 0.2em 0.8em 0.1em 1.6em;
	display:block;
	color:var(--wp--preset--color-contrast);
	line-height: 1.8;
	border-bottom:dotted 1px rgba(242, 193, 78, 0.7);
}

@media (width <= 1024px) {
.sideNavi .newslist ~ div h4.wp-block-heading,
.recentsBox h4,
.page .columnOver > div > div:first-child h4,
.single .entry-content h4{
	padding:0.4em 1em 0.2em 1.5em!important;
}
}

.recentsBox h4{
	font-size:var(--wp--preset--font-size--medium);
	padding: 0.3em 0.8em 0.3em 1.6em;
	margin-top: 0.5em!important;
	margin-bottom: 0.5em!important;
}

.page-id-386 h4{
	font-size:calc(var(--wp--preset--font-size--medium) * 1.05)!important;
}

.sideNavi .newslist ~ div h4.wp-block-heading::before,
.recentsBox h4::before,
.page .columnOver > div > div:first-child h4::before,
.single .entry-content h4::before{
	position:absolute;
	content:"";
	width: 1em;
	height: 0.2em;
	top:54%;
	left: 0.4em;
	transform: translate( 0,-50%) rotate(-65deg);
	background-color: rgba(242, 193, 78, 1);
}

.sideNavi .newslist ~ div h4.wp-block-heading{
	margin-bottom:0.3em!important;
}

.recentsBox h4{
	font-size:var(--wp--preset--font-size--medium);
	padding:0 0.8em 0 1.6em;
}

.page .columnOver > div > div:first-child h5,
.single .entry-content h5{
	font-weight:600;
	font-size: clamp(1rem, 0.932rem + 0.3vw, 1.125rem)!important;
	margin: calc(clamp(1rem, 0.932rem + 0.3vw, 1.125rem) * 1.4) 0 calc(clamp(1rem, 0.932rem + 0.3vw, 1.125rem) * 1.4) 0!important;
	color: #000;
	position: relative;
	z-index:0;
	padding: 0em 0.8em 0 0.6em;
	display:block;
	color:var(--wp--preset--color-contrast);
	line-height: 1.3;
	border-left:solid 5px rgba(242, 193, 78, 1);
}

.page .columnOver > div > div:first-child ul,
.single .entry-content ul{
    margin: 1.2em 1em 1.4em 0.8em!important;
	padding-left:1em;
}

@media (width >= 1024px) {
body:not(.home) .page .entry-content {
    padding: 1em;
}
}

/************/

.parentNameBox p.gyouseiTitle{
	font-size: var(--wp--preset--font-size--medium);
	margin-top: 0;
	line-height: inherit;
	position:relative;
	z-index: 0;
	padding-left:1.2em;
}

.parentNameBox p.gyouseiTitle::before,
.parentNameBox p.gyouseiTitle::after{
    content:"";
    position:absolute;
    width:0.2em;
    height:1em;
    top: 50%;
    left: 0;
    transform:rotate(20deg) translate(0,-50%);
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--secondary);
}

.parentNameBox p.gyouseiTitle::after{
    left: 7px;
}

.parentNameBox p:not(.gyouseiTitle) {
   text-align:center; 
   font-size:calc(var(--wp--preset--font-size--medium) * 1.05)!important;
	position:relative;
	top:0;
	padding-bottom:0.5em;
}

@media (width >= 1024px) {
.parentNameBox p:not(.gyouseiTitle) {
   font-size:calc(var(--wp--preset--font-size--medium) * 1.2)!important;
}
}

.parentNameBox{
	background-color:#f1f1f1;
	padding:0.7em 1em 1.5em 1em;
}

@media (width >= 1024px) {
	.parentNameBox{
	padding:1em 1em 2em 1em;
}
}
.single-governmentinfo .title-wrapper,
.page .title-wrapper {
    background-image:url(./assets/images/namidake.svg);
    background-size: 100%;
    background-position: 0;
    background-color: rgba(242, 193, 78, 0.8);
    border-radius:15px;
    padding: 2em 2em!important;
    margin-top:1em!important;
    margin-bottom: 1.5em!important;!
}

@media (width <= 1024px) {
.single-governmentinfo .title-wrapper,
.page .title-wrapper {
    padding: 1.2em 0.6em!important;
}
}

body.single.single-governmentinfo .title-wrapper h1{
	border:none;
	background-color: transparent;
	padding-top:0;
}

body.single.single-governmentinfo .title-wrapper h1{
 border-top:none;
 border-bottom: none;
 padding-bottom: 0;
 margin-top: 0!important;
}

@media (width >= 1024px) {
.page .title-wrapper {
	margin-top: 0.5em!important;
}
}

@media (width >= 1200px) {
.page .title-wrapper {
padding: 3em!important;	
margin-top:0!important;
}
}
.page .title-wrapper h1{
	color:#333;
	font-weight:700;
	font-size:calc(var(--wp--preset--font-size--large) * 1.2);
}

@media (width < 1024px) {
.page .title-wrapper h1{
	font-size:var(--wp--preset--font-size--large);
}
}

.sideNavi .jinkouJikoOuter {
    flex-direction:column;
}

.jinkouBox div h3,.keizokuBox h3 {
    font-size: calc(var(--wp--preset--font-size--medium) * 1.1);
}

.home .jinkouBox div h3,.home .keizokuBox h3{
    font-size: calc(var(--wp--preset--font-size--medium) * 1.2);
    background-color: #F1EDCC;
    color:#000;
}

@media (width < 1360px) {
.home .jinkouBox div h3,.home .keizokuBox h3{
    font-size: calc(var(--wp--preset--font-size--medium) * 1);
}
}

.jinkou{
    flex-direction: column;
    gap:0;
    text-align:center;
    padding-top:1em;
    padding-bottom:1em;
	border-bottom:dashed 1px var(--wp--preset--color--contrast);
	background-color:#F1EDCC;
}

.keizokuBox h3 {
    text-align:center;
    padding-top:1em;
    padding-bottom:1em;
	border-bottom:dashed 1px var(--wp--preset--color--contrast);
	background-color:#fff;
	position:relative;
}
.keizokuBox h3::before {
    content: "\f5e4";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
}

.setai{
	padding-top:0.8em;
	padding-bottom:0.3em;
}

.soujinkou {
    padding-bottom: 0.3em;
}

.suuchi1 p:nth-child(1),.suuchi2 p:nth-child(1),.suuchi3 p:nth-child(1) {
    position:relative;
}

.suuchi1 p:nth-child(1),.suuchi2 p:nth-child(1){
    position:relative;
    font-size:1.6em;
    line-height:1;
    font-weight: 700;
    color: var(--wp--preset--color--contrast);
    background-color:#fff;
}

.suuchi1 p:nth-child(1)::after {
    position:absolute;
    content:"世帯";
    text-wrap-mode: nowrap;
    padding-left: 0.4em;
	font-size:0.7em;
	top:0.2em;
	background-color:#fff;
}

.suuchi2 p:nth-child(1)::after {
    position:absolute;
    content:"人";
    padding-left: 0.4em;
	font-size:0.7em;
	top:0.3em;
	background-color:#fff;
}
.suuchi3 p:nth-child(1) {
	text-wrap:nowrap;
}
.suuchi3 p:nth-child(2)::after {
    position:absolute;
    content:"人";
}


.setai .wp-block-group,.soujinkou .wp-block-group {
    display: flex;
    align-items: center;
    gap: 0.8em;
}

.setai p,.soujinkou p {
	position:relative;
    margin: 0;
	font-size: var(--wp--preset--font-size--medium);
}

.setai p.jtitle1::before {
    content: "\f015";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	margin-right:5px;
    color: var(--wp--preset--color--secondary);
}

.soujinkou p.jtitle2::before {
    content: "\f500";
   font-family: "Font Awesome 6 Free";
    font-weight: 900;
	margin-right:5px;
    color: var(--wp--preset--color--secondary);
}

.jinkou > .wp-block-column:nth-child(2) p {
    font-size: var(--wp--preset--font-size--small);
}

.danseijyosei {
    justify-content: space-between;
    padding-top:0.3em;
    width: 100%;
    margin-left: 0!important;
    justify-content: flex-start;
    column-gap: 2em;
}

.danseijyosei p{
    justify-content: space-around;
    font-size: var(--wp--preset--font-size--small);
}

.naiyou {
    padding: 1.5em 0 1em 1em;
}

.jinkouBox,.keizokuBox {
    border: solid 2px var(--wp--preset--color--contrast);
    height:100%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top right;
	position:relative;
}

.jinkouBox::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: -1;
}

.jinkouBox{
    background-image: url(./assets/images/backjinkou.png);
}

.keizokuBox {
	background-color: #fff;
}

.mokuhyou {
    padding:0.5em;
    margin: 0.5em!important;
    background-color: var(--wp--preset--color--light-green-cyan);
}

.genzai {
   padding: 0.8em 0.8em 0 0.8em;
}

p#kyouHiduke {
    position: relative;
	font-size: var(--wp--preset--font-size--small);
}

p#keizokuNichi{
    position: relative;
	font-size: var(--wp--preset--font-size--medium);
}

p#kyouHiduke::after {
    content:"現在";
	font-size: var(--wp--preset--font-size--small);
}

.keizoku p#keizokuNichi::after {
    content: "日"!important;
	font-size: var(--wp--preset--font-size--small);
}

.keizoku p#keizokuNichi::before {
    content: "\f073";
	font-family: "Font Awesome 6 Free";
    font-weight: 900;
	font-size: calc(var(--wp--preset--font-size--medium) * 1.2);
	margin-right:5px;
	position:relative;
	top:-2px;
	color:var(--wp--preset--color--secondary);
}

.keizoku p#keizokuNichi {
	font-size: calc(var(--wp--preset--font-size--medium) * 1.6);
	font-weight:700;
	color: var(--wp--preset--color--contrast);
}

footer .has-global-padding > .alignfull {
                margin-right: calc(var(--wp--style--root--padding-right) * 0)!important;
                margin-left: calc(var(--wp--style--root--padding-left) * 0)!important;
            }

.bnArchiveInner {
	padding: 0;
	display: flex;
	flex-direction:column;
	justify-content:center;
	align-items: start;
	gap: 1.5em;
}

.bnArchiveInner figure{
	max-width:340px;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-left: auto!important;
}

@media (782px > width >= 600px ) {
.bnArchiveInner {
	flex-direction:row;
	column-gap:1em;
}
}

.bnArchiveInner figure figcaption {
    color: #fff;
    margin-top: 3px;
}

.migiBox > div {
	column-gap:1.5em;
}

@media (width <= 1200px ) {
.migiBox > div {
    display: grid;
}
}

.migiBox > div > div:last-child{
	display:flex;
	justify-content:center;
	padding-top:0;
}

@media (width <= 782px ) {
.migiBox > div > div:last-child{
	padding-top:0;
}
}

@media (width >= 1200px ) {
.migiBox > div > div:last-child{
	padding-top:0;
	justify-content:start;
}
}

@media (width <= 782px ) {
.migiBox > div > div:last-child{
	position:relative;
	top:-3em;
	padding-left:8em;
}
}

.untanKouhou {
    max-width: 260px;
}

@media (width > 600px ) {
.untanKouhou {
    max-width: 270px;
}
}
@media (width > 1024px ) {
.untanKouhou {
    max-width: 300px;
	padding-top:0;
}	
}

@media (width >= 1200px ) {
.untanKouhou {
    max-width: 300px;
    padding-top:2em;
}	
}

@media (width >= 1360px ) {
.migiBox > div > div:last-child{
	padding-top:2em;
	justify-content:start;
}
}

@media (width <= 782px ) {
.wp-container-core-group-is-layout-46 > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
	max-width:100%!important;
	justify-content:center;
}
}

@media (782px <= width <= 1200px) {
.topAboutSaiBox{
	width:90%!important;
}
}

@media (782px < width < 1200px) {
.jinkouJikoOuter {
    flex-direction: column!important;
}
}

@media (width <= 782px) {
.jinkouJikoOuter {
    flex-direction: column!important;
    max-width: 450px;
}
}

@media (782px < width < 1200px) {
.jinkouJiko-L,.jinkouJiko-R{
	width:80%;
	margin-left: auto!important;
	margin-right: auto!important;
}
}

@media (782px < width < 1200px) {
.sideNavi .jinkouJiko-L,.jinkouJiko-R{
	width:100%;
	margin-left: auto!important;
	margin-right: auto!important;
}
}

@media screen and (width > 782px) {
button#toggleMegaMenu {
    display: none;
}
}
@media screen and (width <= 782px) {
    .megaMenuBox.inPage {
        display: none !important;
    }
    .megaMenuBox.inPage.is-active {
        display: block !important;
    }
}

.guide-toggle-btn {
    padding: 1em;
    border-radius: 10px;
    font-size: 1em;
    background-color:chocolate;
    transform: translate(-50% , 0);
    position: relative;
    left: 50%;
    color:#fff;
    font-weight:700;
	margin-bottom:2em;
}

.guide-toggle-btn::after {
    content:"▼";
}

#tribe-events-content ul.tribe-events-sub-nav {
    list-style-type: none;
    margin: 0;
    overflow: hidden;
    text-align: center;
    padding-left: 0!important;
	display:flex;
}

.tribe-events-sub-nav li.tribe-events-nav-previous a {
   text-align:left;
}

.tribe-events-sub-nav li.tribe-events-nav-next a {
   text-align:right;
}

.single-tribe_events #tribe-events-content {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1em;
}

.tribe-common .tribe-common-h8 {
    font-size: var(--tec-font-size-2)!important;
}

article.tribe-events-calendar-month-mobile-events__mobile-event.tribe_events.type-tribe_events.hentry {
    padding: 1em!important;
}

.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime {
    margin:0!important;
}

span.tribe-events-schedule__date,.tribe-events-schedule__time {
    font-size: var(--wp--preset--font-size--large);
}

.tribe-events-schedule__all-day,.tribe-events-schedule__separator,.tribe-events-schedule__timezone {
    color: #333;
}

.tribe-events-single-event-title,
.tribe-events-calendar-latest-past__event-title{
   position:relative;
   padding-left:1.9rem;
   background-color: #fff;
   padding: 1.2em 1em 1.2em 2.4em!important;
   margin-bottom: 0.2rem;
   font-size: calc(var(--wp--preset--font-size--large) * 1.2)!important;
   letter-spacing: 1px;
   border-radius: 20px;
   margin-top: 2em;
	color:#000;
   line-height: 1.2!important;
}

.tribe_events.type-tribe_events{
	background-color:#fff;
	margin:2em 0;
	padding:1em 1.5em;
	border-radius:20px;
}

@media (width < 782px) {
	.tribe_events.type-tribe_events{
	padding:1em 1em;
	}
}
@media (width < 782px) {
.tribe-common .tribe-common-g-row--gutters {
    margin-left:0!important;
    margin-right: 0!important;
}
}
@media (width < 782px) {
.tribe-common .tribe-common-g-row--gutters>.tribe-common-g-col {
    padding-left: 0!important;
    padding-right: 0!important;
	}
	}

.tribe-common h3.tribe-common-h7::before,.tribe-common h3.tribe-common-h8::before {
    content:"\f024";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
	font-size:0.87em;
    display: inline-block;
	margin-right:8px;
    z-index:1;
	transform:rotate(-10deg);
	color:orange;
}

.tribe-common time.tribe-common-h7::before,.tribe-common time.tribe-common-h8::before{
    content:"\f783";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
	font-size:0.87em;
    display: inline-block;
	margin-right:8px;
    z-index:1;
	transform:rotate(-10deg);
	color:green;	
}

article.tribe-events-calendar-list__event.tribe-common-g-row.tribe-common-g-row--gutters.tribe_events.type-tribe_events.status-publish.has-post-thumbnail.hentry {
    margin-top: 0;
    margin-bottom: 0;
	background-color:#fff;
}
.tribe-events-c-top-bar__datepicker time,
.tribe-common--breakpoint-medium.tribe-common .tribe-common-h6--min-medium,
.tribe-common .tribe-common-h--alt,
.tribe-common--breakpoint-medium.tribe-common,
span.tribe-events-calendar-list__event-date-tag-weekday {
    font-size: calc(var(--wp--preset--font-size--medium) * 1.2)!important;
    color: #000!important;
}

.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title{
	font-size: var(--wp--preset--font-size--medium)!important;
}

span.tribe-events-calendar-list__event-date-tag-weekday {
    border-radius: 50%;
    background-color: var(--wp--preset--color--secondary);
    width: 2em;important;
    height: 2em;
    line-height: 2!important;!
}

.tribe-events .tribe-events-calendar-list__event-date-tag-datetime{
	align-items:center;
	row-gap:0.2em;
}

span.tribe-events-calendar-list__event-date-tag-daynum{
    margin-right:0;
    margin-top:0.2em;
}

span.tribe-events-calendar-list__event-date-tag-daynum::after{
    content:"日";
    font-size:0.6em;
    margin-left:-5px;
}
@media (768px < width < 860px) {
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row>.tribe-common-g-col {
    padding-left: calc(var(--tec-grid-gutter-half) * 0.75)!important;
    padding-right: calc(var(--tec-grid-gutter-half) * 0.75)!important;
}
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day-cell--mobile {
    display: none!important;
    visibility: hidden
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day-cell--desktop {
    display: flex!important;
    flex-direction: column;
    visibility: visible;
    background-color: #fff;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar--border {
    border: solid 2px var(--wp--preset--color--primary);
}

/******/

.single-tourism figure {
    width: fit-content;
}

.tax-tourism_category figure img,
.post-type-archive-tourism figure img,
.single-tourism figure img {
    border-radius: 10px;
}

.single-tourism .parentNameBox p.gyouseiTitle,
.tax-tourism_category .parentNameBox p.gyouseiTitle{
	font-size: calc(var(--wp--preset--font-size--medium) * 1.2)!important;
	position:relative;
	top:-0.5em;
	padding-left: 0;
	text-align: center;
}

@media (width <= 1024px) {
.single-tourism .parentNameBox p.gyouseiTitle,
.tax-tourism_category .parentNameBox p.gyouseiTitle{
	top:0.7em;
	padding-bottom:1em;
}
}

.kankouHeadBox2 figure img{
    border-radius: 0 0 0 100px;
}

.kankouHeadBox2{
	padding-bottom:3em;
}

.single-tourism .parentNameBox p.gyouseiTitle::before,
.single-tourism .parentNameBox p.gyouseiTitle::after,
.tax-tourism_category .parentNameBox p.gyouseiTitle::before,
.tax-tourism_category .parentNameBox p.gyouseiTitle::after{
	display: none;
}

.tourBox {
    padding: 2em 2em 3em 2em;
	position:relative;
}

@media (width < 782px) {
.tourBox {
    padding: 1em;
}
}
.tourAddBox{
	padding: 1em;
	background-color: #FBF2F2;
	margin-top: 1em!important;
}
.tourAddBox > div{
	margin-bottom:0.5em!important;
	border-bottom:dotted 1px #ccc;
	padding-bottom:0.5em;
	align-items: start;
}

.tourAddBox > div:last-child{
	border-bottom:none;
}

.tourAddBox > div p:first-child{
	background-color: #fff;
	width: 12%;
	min-width: 4em;
	padding: 0 5px;
}

.tourBox h2 {
    margin-top: 0.6em!important;
    margin-bottom: 1.2em!important;
    text-align:center;
}

.tourBox h2 + div {
    gap: 2em;
}

.tourBox {
    padding: 2em 2em 3em 2em;
}

@media (width < 782px) {
.tourBox {
    padding: 1em;
}
}
.tourAddBox{
	padding: 1em;
	background-color: #FBF2F2;
	margin-top: 1em!important;
}
.tourAddBox > div{
	margin-bottom:0.5em!important;
	border-bottom:dotted 1px #ccc;
	padding-bottom:0.5em;
	align-items: start;
}

.tourAddBox > div:last-child{
	border-bottom:none;
}

.tourAddBox > div p:first-child{
	background-color: #fff;
	width: 12%;
	min-width: 4em;
	padding: 0 5px;
}

.tourBox h2 {
    margin-top: 0.6em!important;
    margin-bottom: 1.8em!important;
    text-align:center;
}

@media (width < 782px) {
.tourBox h2 {
    margin-bottom: 1em!important;
}
}

.tourBox h2 + div {
    column-gap: 2em;
    row-gap: 3em;
}

.tourBox > div > div:last-child {
    padding-top: 3em!important;
}

@media (width < 782px) {
.tourBox h2 + div {
    column-gap: 2em;
    row-gap: 0;
    margin-bottom: 2em!important;
}
}

@media (width < 782px) {
.tourBox > div > div:last-child {
    padding-top: 1em!important;
}	
}

.tourBox > div > div:last-child > div{
    padding: 1.6em!important;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
    background-color: #fff;
	position:relative;
}

.tourBox > div > div:last-child > div::before{
	position:absolute;
	content:"";
	width: 35%;
	height: 60px;
	min-width: 130px;
	background-image:url(./assets/images/titlememo.svg);
	background-position:center center;
	background-repeat:no-repeat;
	background-size: contain;
	top: -3.5em;
	left: 2em;
	z-index: 0;
	border-bottom: dotted 5px #F8D67A;
	transform: rotate(-5deg);
}

.tourBox::before {
    position:absolute;
    content:"";
    width:100%;
    height: 63%;
    background-color: rgba(193, 231, 253 ,0.4);
    bottom: 0;
    left:0;
    z-index:-1;
}

@media (width < 782px) {
.tourBox > div > div:last-child > div::before{
	top: -1.1em;
}	
}

.post-type-archive-tourism nav.wp-block-query-pagination {
    padding: 1em 0;
}

.post-type-archive-tourism .kankouHeadBox h1,
.tax-tourism_category main h1 {
    font-size: var(--wp--preset--font-size--x-large);
    text-align: center;
    width: 100vw;
    height: 100%;
    padding: 0!important;
    position:relative;
    color:transparent!important;
	max-height:500px!important;
    aspect-ratio: 1200 / 500;
	margin-bottom:1em!important;
}

@media (width < 782px) {
.tourBox > div > div:last-child > div::before{
	display:none;
}
}

@media (width >= 782px) {
.tax-tourism_category main h1 {
    aspect-ratio: 1920 / 400;
}
.post-type-archive-tourism .kankouHeadBox h1{
    aspect-ratio: 1920 / 800;
}	
}

.post-type-archive-tourism .kankouHeadBox h1::before,
.tax-tourism_category main h1::before{
   position:absolute;
    content:"";
    width:100vw;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translate(-50% , 0);
    z-index:-1;
    background-image:url(
    ./assets/images/header_kankou.jpg);
    background-size: cover;
    background-repeat:no-repeat;
    background-position: center center;
}

.kankouHeadBox {
    padding: 0;
    margin:0!important;
    width: 100%;
    margin:0!important;
}

.term-stay main h1::before{
     background-image: url(./assets/images/tomaru.jpg);
}

.term-fun main h1::before{
     background-image: url(./assets/images/asobu.jpg);
}

.term-view main h1::before{
    background-image: url(./assets/images/miru.jpg);
}

@media (width <= 782px) {
.term-stay main h1::before{
     background-image: url(./assets/images/tomaru2.jpg);
}

.term-fun main h1::before{
     background-image: url(./assets/images/asobu2.jpg);
}

.term-view main h1::before{
    background-image: url(./assets/images/miru2.jpg);
}

.post-type-archive-tourism .kankouHeadBox h1::before{
    background-image:url(
    ./assets/images/header_kankou2.jpg);
}
}

.parentNameBox + div {
    margin-bottom: 3em!important;
}

@media (width < 782px) {
.parentNameBox + div {
    margin-bottom: 1em!important;
}
}

.taxonomy-tourism_category a {
    display: inline-block;
    padding: 0 0.8em;
    font-size: var(--wp--preset--font-size--small);
    border-radius: 5px;
}

.tourism_category-stay .taxonomy-tourism_category a {
	background-color: pink;
}

.tourism_category-view .taxonomy-tourism_category a {
	background-color: #FFFFAA;
	border: solid 1px #D4D411;
}

.tourism_category-fun .taxonomy-tourism_category a {
	background-color: #afe045;
}

.wp-site-blocks{
    position:relative;
}
/*** kotei page*/

/*** table ***/

figure.wp-block-table {
    margin: 1em 0!important;
}

/*****/

.kankouHeadBox2{
    position:relative;
    justify-content: flex-end;
}

.kankouHeadBox2 > div:first-child{
    position:absolute;
    width:50%;
    left:0;
    top:0;
    background-color: yellow;
    height: calc(100% - 3em);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:1;
}
.kankouHeadBox2 > div:nth-child(2){
    width:100%!important;
    text-align:right;
    z-index:0;
    position:relative;
    top:1em;
	padding-left:1em;
}

.sideNavBox ul.wp-block-post-template {
    list-style-type: none;
    padding-left: 0.5em;
}

.sideNavBox ul.wp-block-post-template li span{
	color:var(--wp--preset--color--secondary);
}

.sideNavBox ul.wp-block-post-template li span{
	padding-right:0.8em;
}

.sideNavi .wp-block-group.sideNavBox {
    margin-bottom: 1.5em;
	padding-bottom:1em;
    border-bottom: dashed 2px var(--wp--preset--color--contrast);
}

.sideNavBox ul.wp-block-post-template li a {
    display: flex;
    align-items: start;
    padding: 0.5em;
    gap: 0;
}

.sideNavBox ul.wp-block-post-template li span.menu-icon {
    flex-shrink: 0;
}

.insta-box{
	width:100%;
	margin-left:auto;
	margin-right:auto;
	margin-top:4vw;
}

.insta-box h2{
	padding-left: 2.4em;
	position: relative;
	padding-top: 0;
	margin-bottom:2rem;
	margin-top:1em!important;
	margin-bottom:1em!important;
	font-size: xx-large;
	font-weight: 400;
	font-family: "Roboto", "Arial", sans-serif;
}
.insta-box h2::before {
	content: '';
    position: absolute;
    left: 0.65em;
    top: 50%;
    transform: translateY(-50%);
    width: 1.6em;
    height: 1.6em;
    background-image: url(./assets/images/insta-icon.png);
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: center center;
    background-color: rgba(255,255,255,0);
}

.insta-box h2::after{
	display:none;	
}
#sb_instagram {
    padding-top: 0;
}

.sb_instagram_header{
	display:none;	
}

#sb_instagram #sbi_images {
    display: grid;
    width: 100%;
    padding: 0 0;
	margin-bottom:1rem;
}

#sb_instagram #sbi_load {
    float: left;
    clear: both;
    width: 100%;
    text-align: left;
}

/** koteipage **/

/* flex table */

@media (width < 600px) {
.wp-block-flexible-table-block-table.is-scroll-on-mobile{
    overflow-x:scroll;
    width:94vw;
}
}

/* column3 */
.column3 .columnIn h3.wp-block-heading {
    border: none!important;
    padding:0 0 0 2.2em!important;
    margin:1em 0 0 0!important;
	position:relative;
    background-color: rgba(255,255,255,0)!important;
}

.column3 .columnIn h3.wp-block-heading::before{
	display:none;	
}
.column3 .columnIn h3.wp-block-heading::after{
	content:"";
	position:absolute;
	left:0;
	top:50%;
	width:1.6em;
	height:1px;
	transform:translate(0 , -50%);
	background-color:#ccc;
}

.column3 .col1 > div > p,.column3 .col2 > div > p,.column3 .col3 > div > p {
    border: none;
    display:inline-block;
    border-radius:10px;
    padding:0.1em 0.5em;
}

.column3 .col1 .columnIn > p {
    background-color: var(--wp--preset--color--secondary);
}

.column3 .col2 .columnIn > p {
    background-color: var(--wp--preset--color--primary);
}

.column3 .col3 .columnIn > p {
    background-color: var(--wp--preset--color--light-green-cyan);
}

.columnIn {
    display: flex;
    flex-direction: column;
    padding: 0 0 var(--wp--preset--spacing--20) 0;
}

.column3 .columnIn > p{
	margin-left:0!important;
}

.column3 figure {
    float: left!important;
    margin: 0 1.2em 0.25em 0!important;
}

@media (width > 1200px) {
.column3 figure {
    float: none!important;
    margin: 0 1.2em 1em 0!important;
}
}

@media (width < 1024px) {
body .aaabox .wp-block-columns.wp-container-core-columns-is-layout-2.is-layout-flex.wp-block-columns-is-layout-flex,
body .aaabox .wp-block-columns.wp-container-core-columns-is-layout-3.is-layout-flex.wp-block-columns-is-layout-flex,
body .aaabox .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-1.wp-block-columns-is-layout-flex{
	   flex-direction:column;
}	
}

@media (width < 1024px) {
body .aaabox .wp-block-columns.wp-container-core-columns-is-layout-2.is-layout-flex.wp-block-columns-is-layout-flex h3,
body .aaabox .wp-block-columns.wp-container-core-columns-is-layout-3.is-layout-flex.wp-block-columns-is-layout-flex h3,
body .aaabox .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-1.wp-block-columns-is-layout-flex h3{
	margin-top:0.5em!important;
	margin-bottom:0.5em;
}	
}

@media (width < 1024px) {
body .aaabox .wp-block-columns.wp-container-core-columns-is-layout-3.is-layout-flex.wp-block-columns-is-layout-flex > div{
	padding-bottom:1em;
	border-bottom:dotted 2px #ccc;
}
}
.gridBox,
.wp-block-group.is-layout-grid.wp-container-core-group-is-layout-12.wp-block-group-is-layout-grid {
    max-width: 100%;
}

.gridBox{
	padding-bottom:var(--wp--preset--spacing--30);
}

.gridBox h3.wp-block-heading {
    font-size:1.1em!important;
    border:solid;
}

.gridBox th,.gridBox td {
    font-size: clamp(1rem, 0.932rem + 0.3vw, 1rem)!important;
    line-height:1.4;
}
.gridBox th{
    width:20%;
}

.gridBox > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
    width: 100%;
}

.gridBox > div figure {
    margin-bottom: 10px;
}

.gridBox > div table {
    width: 100%;
    min-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
	margin-top:1em;
}

.gridBox > div table th {
    background-color: #ccc;
    padding: 10px;
    text-align: left;
    border: none!important;
    border-bottom:dotted 2px #fff!important;
}

.gridBox > div table td {
    width: auto;
    text-align: left;
    padding: 10px;
    border-top: none!important;
    border-left: none!important;
    border-right: none!important;
    border-bottom: 2px dotted #ccc!important;
}

.gridBox > div tr:last-child th {
    border-bottom: solid 2px #eee!important;
}

.leftTitleBox > div:first-child{
    background-color: #ececec;
    padding: 0.3em 0.5em;
}

.hurusatoBox .leftTitleBox > div:first-child{
    background-color: #fff;
    padding: 0.3em 0.5em;
}

.leftTitleBox{
    padding: 1em 1em 0 1em;
}

.leftTitleBox > div:last-child{
    padding: 0.3em 0.5em 0.5em 0.5em;
	border-bottom:dotted 2px #ececec;
}

.hurusatoBox .leftTitleBox > div:last-child{
	border-bottom:dotted 2px #fff;
}

@media (width < 1360px) {
.leftTitleBox + div.wp-block-group.is-nowrap.is-layout-flex {
    flex-direction: column;
    justify-content: start;
    align-items: baseline;
    gap: 0;
}
}

@media (width < 1360px) {
.leftTitleBox + div.wp-block-group.is-nowrap.is-layout-flex p {
padding-left:2em;
}
}

.block-editor-rich-text__editable.wp-block-file__button.wp-element-button.rich-text {
    color:#fff!important;
}

a.block-editor-rich-text__editable.rich-text {
    font-size:medium;
}

:where(.wp-block-file__button):is(a):active, :where(.wp-block-file__button):is(a):focus, :where(.wp-block-file__button):is(a):hover, :where(.wp-block-file__button):is(a):visited{
	box-shadow:none;
	color:#fff;
	opacity:.85;
	text-decoration:none;
	background-color:var(--wp--preset--color--contrast);
}

.wp-block-file *+.wp-block-file__button,
.wp-block-file a.wp-block-file__button {
    color: #fff!important;
}

/* gikai */

li#mega-menu-502-1 .wp-block-group.megaMenuInBox.is-layout-constrained.wp-block-group-is-layout-constrained > div >ul{
    gap:1em;
}

@media (width < 1024px) {
 #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-columns-9-of-12 {
    width: 100%;
  }
}

h3#mc_1-title-my-calendar {
    font-size: small;
    padding: 0 0 0 0;
    margin: 0 0 0 0!important;
}

h3#mc_1-title-my-calendar::before{
    display:none!important;
}

@media (width <= 1600px) {
body.my-calendar .calendar tr td span {
  display: block;
  width: auto;
  height:24px!important;
}
}

.post-type-archive-kouhousai h1.wp-block-heading {
    position: relative;
    padding-left: 1.2em;
}

.post-type-archive-kouhousai h1.wp-block-heading::after{
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1em;
	height: 1em;
	color:skyblue;
	background-image: url(./assets/images/hon-icon.svg)!important;
	background-repeat: no-repeat;
	background-size: contain;
}

.dejiarch {
    padding-bottom: 2em;
}

@media (width <= 1024px) {
.dejiarch {
    padding-bottom: 1em;
}
}

.dejiarch > h1 {
    padding: 1em;
}

@media (width <= 1024px) {
.dejiarch > h1 {
     font-size:var(--wp--preset--font-size--x-large);
	text-align:center;
}	
}

.dejiarch select {
    padding: 0.1em 0.3em;
    border: solid 4px var(--wp--preset--color--secondary);
    font-size:clamp(1rem, 0.932rem + 0.3vw, 1.125rem);
    margin-bottom: 0.8em;
}

.dejiarch form#custom-date-filter{
	padding-top:1em;
}

.dejiarch button {
	font-size: 1em;
	padding: 0.5em 1.2em;
	background-color: var(--wp--preset--color--contrast);
	border: none;
	cursor: pointer;
	font-weight: 700;
	color: #fff;
	display:block;
	width: 100%;
	max-width: 280px;
	border-radius: 20px;
	transition:0.2s;
}

.dejiarch button:hover {
	background-color: skyblue;
	color:#333;
}

@media (width < 1024px) {
p.verPC {
    display:none;
}
}

@media (width >= 1024px) {
p.verMob {
    display:none;
}
}

@media (width < 1024px) {
.kouhousaiBox{
    flex-direction:column;
}
}

@supports (-webkit-touch-callout: none) {
    .wp-block-file__embed {
        width: 100% !important;
        max-width: calc(100vw - 50px) !important;
        min-width: 300px !important;
        height: 600px !important;
        display: block !important;
        overflow: auto !important;
        -webkit-overflow-scrolling: touch !important;
        pointer-events: auto !important;
    }

    .wp-block-file {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        display: flex;
        justify-content: center;
    }
}

.kouhousaiBox,.gikaidayoriBox{
	column-gap: 3em!important;
}

@media (width < 1024px) {
.kensakuBox .recentsBox {
    display:none;
}
}
@media (width < 1024px) {
.archBox {
    flex-direction: column;
}
}
@media (width < 1024px) {
.kensakuBox {
    padding-bottom: 0;
}
}
@media (width >= 1024px) {
.archBox > div:not(.kensakuBox) .recentsBox{
    display:none;
}
}
@media (width >= 1024px) {
.archBox{
	column-gap:3em;
}
}

.insitebanner-swiper img {
    max-width:555px;
    height:auto;
}

.insitebanner-swiper .swiper-wrapper .swiper-slide {
    margin-right: 0!important;
    text-align: center;
}

.insitebanner-swiper .swiper-wrapper{
    justify-content:space-between;
    align-items:center;
}

.insitebanner-swiper .swiper-slide a + p {
    display: none;
}

/*****/
.table-scroll-wrapper table {
  table-layout: auto !important;
}
@media screen and (max-width: 782px) {
  .table-scroll-wrapper {
    overflow-x: auto;
    width: 100%;
-webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .table-scroll-wrapper figure,
  .table-scroll-wrapper table {
	width: max-content;
	  max-width:781px;
    min-width: 100%;
    white-space: nowrap;
  }

  .table-scroll-wrapper {
    display: block;
    max-width: 100vw;
  }

  .wp-block-column {
    min-width: 0;
    overflow-x: hidden;
  }

  .title-wrapper {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

.aaabox *:not(.table-scroll-wrapper):not(.table-scroll-wrapper *):not(table):not(figure):not(td):not(th) {
    box-sizing: border-box !important;
    max-width: 100%;
	line-height:1.7;
  }
	
.table-scroll-wrapper td,
  .table-scroll-wrapper th {
    white-space: normal;
    word-break: break-word;
	  width:auto;
  }	
}

ul.koteiList {
    list-style-type: none;
}

body.archive .title-wrapper h1{
	color: #000!important;
	font-weight: 600;
    margin-bottom: 1.5em;
    border-left: 4px solid #ccc;
    padding-left:0;
}

@media screen and (min-width: 782px) {
body.archive .title-wrapper h1{
    padding-left:1em;
}	
}

body.archive .title-wrapper{
	margin:2em 0 2em 0!important;
	border-radius:20px 20px 0 0;
}

@media screen and (max-width: 782px) {
body.archive .title-wrapper{
	margin:1em 0 2em 0!important;
	padding:2em!important;
}
}

@media screen and (min-width: 782px) {
body.archive .title-wrapper{
	padding:2.3em 1em 3.2em 2em!important;
}
}

.post-type-archive-governmentinfo .queryBox h2 {
    margin-bottom: 0;
    padding-bottom: 0!important;
}

.wp-block-post-navigation-link {
    flex: 0 0 45%;
}

.post-navigation-link-next {
  text-align: right !important;
}

.entry-content ul:has(a) {
  list-style-type: none;
}
@media screen and (max-width: 781.999px) {
.sideNavi figure{
    max-width:450px;    
}
}

.post-type-archive-tourism h2,
.tax-tourism_category h2 {
  font-size:clamp(1rem, 0.909rem + 0.45vw, 1.25rem)!important;
  font-weight: 600;
  margin: 0 0;
  padding: 0.3em 0;
  border-left: 3px solid #ccc;
  padding-left: 0.6em;
  color: #333;
}

.post-type-archive-governmentinfo .queryBox h2 a{
    text-decoration:none;
}

.post-type-archive-governmentinfo .queryBox h2 a:hover {
    color: #333;
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-decoration-color: #E8AE10;
    text-decoration-thickness: 2px;
}

#mega-menu-wrap-max_mega_menu_1 .menu-content ul.menulink li > a {
    text-align:left!important;
    padding-left: 0.5em!important;
    padding-right: 0.5em!important;
}

#mega-menu-wrap-max_mega_menu_1 .menu-content ul.menulink li > a::before {
    left:1em!important;
    top:3px!important;
}

.single-governmentinfo .columnOver {
    margin-top: 1em!important;
}

.aaabox .entry-content ol.wp-block-list {
    padding: 1em 1.2em;
}

/**/

h3#mc_3-title-my-calendar {
    font-size: 15px;
    margin: 0 0 0 0!important;
    background:none!important;
    padding:0;
    line-height:1!important;
}

h3#mc_3-title-my-calendar::before,h3#mc_3-title-my-calendar::after {
    display:none;
}

.mc-main .event-title button {
	all: unset;
	width: 100%;
	text-align: left;
	display: block;
	gap: 0;
	align-items: center;
	padding: 3px;
	box-sizing: border-box;
	white-space: wrap;
}

.mc-main .event-title button svg{
	display:none!important;
}

.single-mc-events .columnOver {
    margin-top:1.5em!important;
}

.single-mc-events .columnOver::before {
    display:none;
}

.post-type-archive-tribe_events .tribe_events.type-tribe_events {
    margin: 0 2px!important;
    padding:0;
}
