@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: 
Author URI: 
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

:root {
	--main-active-bg: #cdf4e7;
}

* {
	margin: 0;
	padding: 0;
}

.hidden {
	display: none;
}

#admin-panel {
	display: none;
}

#container {
	background-color: #fff;
	
}

#header-container {
	position: relative;
    top: 0;
    left: 0;
    width: 100vw;
	/*background: transparent;*/
	/*background: rgba(255,255,255,0.5);*/
	background: #fff;
	z-index: 100;
}
.header {
	height: 6rem;
}


#navi {
	background: transparent;
	background: var(--main-active-bg);
	/*
	border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
    */
}
.navi-in a {
	font-size: 14px;
}
.navi-in a:hover {
    background-color: aquamarine;
    transition: all 0.3s ease-in-out;
    color: var(--cocoon-text-color);
}
.navi-in > ul .sub-menu a {
    padding-left: 16px;
    padding-right: 16px;
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
}
.navi-in > ul li {
	width: 120px;
	height: 3rem;
	line-height: 3rem;
}

#top_content {
	display: none;
}
.home #top_content {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100vw;
    height: 100vh;
    /*height: 60vh;*/
    
    background-image: url(/images/img2129_1280x853.jpg);
	/*height: 100vh;*/
    background-repeat: no-repeat;
    background-position: 50% 20%;
    background-size: cover;
}
.home #top_content:before {
    content: "";
    position: absolute;
    top: 11rem;
    /* bottom: 3rem; */
    right: 3rem;
    width: 7rem;
    height: 7rem;
    padding: 0rem;
    background-image: url(/images/qr/qr_120.png);
    background-color: rgba(160,160,160,0.8);
    background-repeat: no-repeat;
    background-position: center center;
    /* background-size: contain; */
    background-size: 7rem 7rem;
}

#content {
	background: transparent;
}
.content {
	margin-top: 0;
}
#content-in {
	/*max-width: 860px;*/
	/*max-width: 1200px;*/
}
.entry-date {
	display: none;
}

#main {
	background: transparent;
	padding: 2rem 4rem;
}

section {
	margin-bottom: 4em !important;
}

h2 + p {
	margin-bottom: 3em;
	padding-left:2em;
}

a.button {
	display: block;
	width: 80%;
	min-width: 10em;
	margin: auto;
	padding: 0.4em 0.4em;
	background: aquamarine;
	border-radius: 5px;
	text-decoration: none;
}

a.link_button {
	text-decoration: none;
    /*background: aquamarine;*/
    width: auto;
    min-width: 16em;
    display: inline-block;
    margin: 1em 0;
    padding: 0.4em 1em;
    border: solid 1px #ccc;
    border-radius: 0.4em;
}
a.link_button:hover {
	background: royalblue;
	color: #fff;
	border-color: royalblue;
}



.home .content {
	margin-top: calc(100vh - 60px - 6rem);
}
/*
.home #top_section {
	height: 0;
}
*/
.home .content-in {
	/*
	position: absolute;
    top: -20vh;
    left: 50%;
    margin-left: -628px;
    */

}

.home .article-header {
	display: none;
}
.home .entry-content section {
	width: 100%;
	mimn-height: 100vh;
	background: #fff;
}
.home .entry-content #top_section {
	height: 0;
    /*height: calc(100vh - 60px - 6rem);*/
    /*height: calc(56vh - 60px - 6rem);*/
    background: transparent;
	margin-bottom: 10px !important;
	/**/
}


.menu-main-menu-container {
	margin-bottom: 4em;
}
#menu-main-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
    padding: 0;
	list-style: none;
}
#menu-main-menu li {
	
	width: 30%;
	box-shadow: 2px 2px 0px 0px rgba(200,200,200,0.4);
	
}


#menu-main-menu .new_cat:before {
    content: 'New!';
    position: absolute;
    /* right: 0; */
    
    font-size: 74%;
    padding: 1px 5px;
    vertical-align: middle;
    color: White;
    background-color: #ff4500;
    border-radius: 3px;

}

#menu-main-menu li a {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 10em;
	
	padding: 0 0.4em;
	line-height: 2em;
	border: solid 1px #ddd;
	text-align: center;
	text-decoration: none;
}
#menu-main-menu li a:before {
    content: "";
    width: 46%;
    /* display: inline-block; */
    height: 48px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: rgba(20,150,130,1);
    background-blend-mode: color-dodge;
    
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
    
}
#menu-main-menu li.bulletin a:before {
	background-image: url(/images/icons/icon101c_128.png);
	mask-image: url(/images/icons/icon101c_128.png);
	-webkit-mask-image: url(/images/icons/icon101c_128.png);
	
}
#menu-main-menu li.notice a:before {
	background-image: url(/images/icons/icon102_128.png);
	mask-image: url(/images/icons/icon102_128.png);
	-webkit-mask-image: url(/images/icons/icon102_128.png);
}
#menu-main-menu li.terms a:before {
	background-image: url(/images/icons/icon103b_128.png);
	mask-image: url(/images/icons/icon103b_128.png);
	-webkit-mask-image: url(/images/icons/icon103b_128.png);
}
#menu-main-menu li.forms a:before {
	background-image: url(/images/icons/icon104b_128.png);
	mask-image: url(/images/icons/icon104b_128.png);
	-webkit-mask-image: url(/images/icons/icon104b_128.png);
}
#menu-main-menu li.management_association a:before {
	background-image: url(/images/icons/icon105d_128.png);
	mask-image: url(/images/icons/icon105d_128.png);
	-webkit-mask-image: url(/images/icons/icon105d_128.png);
}
#menu-main-menu li.nakayoshigo a:before {
	background-image: url(/images/icons/icon106c_128.png);
	mask-image: url(/images/icons/icon106c_128.png);
	-webkit-mask-image: url(/images/icons/icon106c_128.png);
}
#menu-main-menu li.public_hall a:before {
	background-image: url(/images/icons/icon107_128.png);
	mask-image: url(/images/icons/icon107_128.png);
	-webkit-mask-image: url(/images/icons/icon107_128.png);
}
#menu-main-menu li.residents a:before {
	background-image: url(/images/icons/icon108c_128.png);
	mask-image: url(/images/icons/icon108c_128.png);
	-webkit-mask-image: url(/images/icons/icon108c_128.png);
}
#menu-main-menu li.others a:before {
	background-image: url(/images/icons/icon109_128.png);
	mask-image: url(/images/icons/icon109_128.png);
	-webkit-mask-image: url(/images/icons/icon109_128.png);
}
#menu-main-menu li.sitemap a:before {
	background-image: url(/images/icons/icon209_128.png);
	mask-image: url(/images/icons/icon209_128.png);
	-webkit-mask-image: url(/images/icons/icon209_128.png);
}
#menu-main-menu li a:hover {
	/*
	background: aquamarine;
	*/
	background: var(--main-active-bg);
	border: solid 1px var(--main-active-bg);
	/*color: #fff;*/
	color: var(--cocoon-text-color);
}

.home .box a {
	text-decoration: none;
}
.home .box h3 + p {
	margin-bottom: 3em;
	padding-left:2em;
}


.post-date {
	display: none;
}



.article h1 {
    padding: 0.4em 1em;
    background: #efefef;
    border-left: solid 10px royalblue;
    /*
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
    */
}
.article h2 {
    padding: 0.4em 1em;
    background: #efefef;
    border-left: double 10px royalblue;
}
.article h3 {
    padding: 0.4em 1em;
    background: #efefef;
    border-left: solid 5px royalblue;
}



.category_posts {
	list-style: none;
	padding-left:	1em;
}
.category_posts li {
	margin-bottom: 0.8em !important;
}
.category_posts .post_date {
	display: inline-block;
	background: aquamarine;
	margin-right: 0em;
	padding: 0 0.6em;
	font-size: 80%;
}
.category_posts .category_post {
	display: inline-block;
    width: calc(100% - 10em);
    padding: 0 1em;
    border-bottom: dotted 1px #ccc;
	text-decoration: none;
}

span.new_post {
/*
    display: inline-block;
    border-radius: 0.2em;
    padding: 0.1em 0.8em;
    background: orange;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
*/
    font-size: 74%;
    padding: 1px 5px;
    vertical-align: middle;
    color: White;
    background-color: #ff4500;
    border-radius: 3px;
}



.page_child {
	padding: 0 1em;
	list-style: none;
}
.page_child .children {
	padding: 0 0 0 2em;
	list-style: none;
}
.page_child > li > a,
.page_child > li > .children > li > a {
    text-decoration: none;
    /*background: aquamarine;*/
    width: 100%;
    display: block;
    margin: 1em 0;
    padding: 0.4em 1em;
    border: solid 1px #ccc;
    border-radius: 0.4em;
}



p.aligncenter {
	text-align: center;
	margin: 2em 0 ;
}
.download_link {
    text-decoration: none;
    background: aquamarine;
    width: auto;
    display: inline-block;
    border-radius: 0.4em;
    padding: 0.2em 1em;
}


.pdfjs-fullscreen a {
	margin-left: 2em;
}

.pdfjs-fullscreen a:after {
	content: "全画面で表示";
	left: 4em;
    position: absolute;
    background: #fff;
    width: 10em;
    border: solid 1px #1967d2;
    border-radius: 0.4em;
    text-align: center;
}
.pdfjs-fullscreen a:hover:after {
	background: #1967d2;
	color: #fff;
}


div.pdfemb-viewer {
	margin: auto !important;
}


.button_pdf_wrap {
	width: 600px;
	margin: 0.4em auto;
}
.button_pdf {
	width: auto;
	margin-right: 1em;
	padding: 0.2em 1em;
	border: solid 1px #ccc;
	border-radius: 5px;
	color: #666;
	text-decoration: none;
}
.button_pdf:hover {
	background: aquamarine;
	color: blue;
}



#sitemap {
	padding-left: 0;
}
#sitemap ul {
	list-style: none;
}
#sitemap .pages > li > a,
#sitemap .category_posts > li > a {
	display: block;
	padding: 0.2em 1em;
	border: solid 1px #ddd;
	border-radius: 0.4em;
	text-decoration: none;
}
#sitemap .category_posts > li > a {
	
}



.sidebar h2,
.sidebar h3 {
	text-align: center;
}

div.whatsnew dl {
	border: solid 0px #ddd !important;
	border-bottom: solid 1px #ddd !important;
}
div.whatsnew dt {
	float: none !important;
	font-size: 12px !important;
	line-height: 20px !important;
	color: #888 !important;
}
div.whatsnew .newmark {
    font-size: 64%;
    padding: 1px 0.8em;
    /*
    vertical-align: middle;
    color: White;
    background-color: #ff4500;
    border-radius: 3px;
    */
    position: absolute;
    margin-top: -22px;
    margin-left: 10em;
    /* top: -16px; */
}
div.whatsnew dd {
	font-size: 16px !important;
}
div.whatsnew hr {
	display: none;
}

#info_list-2 {
	display: none;
}



#footer {
	/*background: transparent;*/
	/*background: rgba(255,255,255,0.5);*/
	background: #ddd;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  
.home #top_content {
  height: 40vh;
}
.home #top_content:before {
	top: calc(6rem + 2vh);
	right: 5vw;
}
.home .content {
    margin-top: calc(40vh - 6rem);
}


#navi-menu-content,
#sidebar-menu-content {
	padding: 6rem 1rem;
}
.menu-drawer a {
    line-height: 300%;
}
.menu-icon .fa:before {
    font-size: 1.8rem;
    line-height: 200%;
}


#footer .site-name-text-link {
	display: inline-block;
  	margin: 0.4em 0;
    line-height: 300%;
}
.navi-footer-in > .menu-footer li.menu-item a {
  	display: inline-block;
  	margin: 0.4em 0;
    line-height: 300%;
}
#navi-footer {
	margin: 1rem auto 2rem;
}
.footer-bottom-content {
	margin-bottom: 2rem;
}

}

/*480px以下*/
@media screen and (max-width: 480px){

#header {
	height: 4rem;
}
#header .logo-header {
	padding: 0;
	line-height: 4rem;
}
#header-in .tagline {
	margin: 0;
}

.home #top_content {
    height: 30vh;
}
.home #top_content:before {
	top: calc(4rem + 2vh);
    right: 5vw;
    width: 4rem;
    height: 4rem;
	background-size: 4rem 4rem

}
.home .content {
    margin-top: calc(30vh - 4rem);
}

#main {
    padding: 2rem 1rem;
}

#menu-main-menu li a {
    height: 8em;
    font-size: 0.8rem;
}


.category_posts .category_post {
	width: 100%;
	height: 2em;
	overflow: hidden;
}
.category_posts span.new_post {
	float: right;
    margin-top: -5.6em;
    margin-right: calc(100% - 12em);
}


.pdfjs-fullscreen a:after {
    left: 2em;
}



}
