/*!
Theme Name: geochemjp
Version: 1.0.0
Author: geochem
original blank theme: 'UNDERSCORES'
https://underscores.me/
*/
@charset 'utf-8';

@import 'css/slick.css?ver=1.0.0';
@import 'css/slick-theme.css?ver=1.0.0';

/* -----------------------------------------------------------------------------------------------
	1. Layout Section include Reset Section
-------------------------------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=BIZ+UDGothic:wght@400;700&family=Zen+Antique&display=swap');


/* reset section */
*,*::before,*::after{box-sizing:border-box}
body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}
ul[role="list"],ol[role="list"]{list-style:none}
body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}
a:not([class]){text-decoration-skip-ink:auto}
img,picture{max-width:100%;display:block}
input,button,textarea,select{font:inherit}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}
*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}


/* layout section */
html {
    background:#f0f0f0;
	color:#000000;
	padding:0;
}
body {
	width:100%;
	padding:0;
} 
.outer_wrapper {
	max-width:1600px;
	margin:0 auto;
	background: #ffffff;
}
.wrapper {
	max-width:1080px;
	margin:0 auto;
	padding: 0 40px;
}

.layout_header {
	padding:0;
	position:relative;
}
.layout_mainMenu {
	clear:both;
	padding:0;
    position:relative;
	width:100%;
}
.layout_smpMenu {
    display:none;
}



.layout_content {
	margin:0 auto 0 auto;
	padding:0;
	text-align:left;
}

.layout_main {
	position:relative;
	flex: 0 1 auto;
	margin:0 0 100px 0;
	width:100%;
}

.layout_contact {
	display:block;
	position:relative;
	overflow:hidden;
}
.layout_copyright {
	display:block;
	position:relative;
	overflow:hidden;
}

.smp {
	display:none;
}




@media screen and (max-width: 834px) {
	
}

@media screen and (max-width: 640px) {
	.wrapper {
		padding: 0 10px;
	}
}

@media screen and (max-width: 480px) {
	.wrapper {
		padding: 0 10px;
	}
	
}








/* -----------------------------------------------------------------------------------------------
	1. Basic Font Section
-------------------------------------------------------------------------------------------------- */

html {
	font-family: "BIZ UDGothic","Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	font-size:10px;
	-webkit-text-size-adjust:100%;
	font-feature-settings:"palt";
}
body {
	font-size:1.5rem;
	line-height:1.8rem;
	text-align:center;
} 



/* -----------------------------------------------------------------------------------------------
	2. Basic Tag Section       
-------------------------------------------------------------------------------------------------- */

a,a:visited {
	color:#000077;
	text-decoration:none;
	transition:0.5s;
}
a:hover {
	color:#3370ff;
	text-decoration:none;
}
a:hover img {
	filter:alpha(opacity=80); -moz-opacity:0.80; opacity:0.80;
	transition:0.5s;
}
img {
    width:100%;
	vertical-align:bottom;
	line-height:1.0;
	transition:0.5s;
}
table th img, table td img {
	vertical-align:middle;
}
.clear {
	clear:both;
}
.click {
	cursor:pointer;
}
br.clear {
	clear:both;
	height:0;
}
strong {
	font-weight:bold;
}

label {
	display:inline-block;
	vertical-align:middle;
}
.left { text-align:left!important; }
.right { text-align:right!important; }
.center { text-align:center!important; }


.w5 { width:5%!important;; }
.w10 { width:10%!important;; }
.w15 { width:15%!important;; }
.w20 { width:20%!important;; }
.w25 { width:25%!important;; }
.w30 { width:30%!important;; }
.w40 { width:40%!important;; }
.w50 { width:50%!important;; }
.w60 { width:60%!important;; }
.w70 { width:70%!important;; }
.w80 { width:80%!important;; }
.w90 { width:90%!important;; }
.w100 { width:100%!important;; }

.mb10 { margin-bottom:10px!important;; }
.mb20 { margin-bottom:20px!important;; }
.mb30 { margin-bottom:30px!important; }
.mb40 { margin-bottom:40px!important;; }
.mb50 { margin-bottom:50px!important;; }
.mb60 { margin-bottom:60px!important;; }
.mb70 { margin-bottom:70px!important;; }
.mb80 { margin-bottom:80px!important;; }










/* -----------------------------------------------------------------------------------------------
	9. table blocks
-------------------------------------------------------------------------------------------------- */
.wp-block-table > table {
	border-collapse:collapse;
	list-style-position:inside;
	margin-bottom:10px;
	width:100%;
	font-size:1.5rem;
}
.wp-block-table > table td {
	text-align:left;
	border:solid 1px #CCCCCC;
	padding:10px;
	line-height:150%;
	vertical-align:middle;
}
.wp-block-table > table th {
	background:#F5F5F5;
	color:#333333;
	border:solid 1px #CCCCCC;
	padding:6px 10px 5px 10px;
	line-height:150%;
	vertical-align:middle;
	text-align: center;
}


.talbe_scroll {
	width: 100%;
	overflow: scroll;
}

@media screen and (max-width: 640px) {

	.talbe_scroll > table {
		width: 1000px!important;
	}
}



/* -----------------------------------------------------------------------------------------------
	5. Title Section
-------------------------------------------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 {
	clear: both;
	font-weight:600;
}





.layout_main h1, .widget_block h1 {
	width: 100%;
	background-image:none;
	background: #f0f0f0;
	text-align: center;
	font-size: 3.6rem;
	line-height: 1.25;
	font-family: "Zen Antique", serif;
	font-weight: normal;
	color: #444444!important;
	padding: 36px 24px;
	margin-bottom: 60px;
}


.layout_main h2, .widget_block h2 {
	background-image:url(img/h2_back.jpg);
	text-align: center;
	font-size: 3.2rem;
	line-height: 1.5;
	font-family: "Zen Antique", serif;
	font-weight: normal;
	color: #ffffff!important;
	padding: 36px 24px;
	margin-bottom: 60px;
}
.layout_main h2:first-child, .widget_block h2:first-child {
	margin-top: 20px;
}

.layout_main h3, .widget_block h3 {
	width: 100%;
	margin: 40px 0 30px 0;
	padding:10px 20px;
	background: linear-gradient(90deg, rgba(247, 93, 139, 1), rgba(254, 220, 64, 1));
	color: #ffffff;
	text-align: left;
	font-size: 2.4rem;
	line-height: 1.5;
	font-family: "Zen Antique", serif;
	font-weight: normal;
} 



.layout_main h4, .widget_block h4 {
	font-weight: bold;
	font-size: 2.0rem;
	line-height: 1.5;
	border-bottom: 3px solid #ffea00;
	padding: 0 0 12px 8px;
	margin: 40px 0 20px 0;
}

.layout_main h5, .widget_block h5 {
	font-weight: bold;
	font-size: 2.0rem;
	line-height: 1.4;
	margin: 40px 0 20px 0;
	color: #444444;
}

.layout_main h6, .widget_block h6 {
	font-weight: bold;
	font-size: 1.7rem;
	line-height: 1.5;
	margin: 20px 0 20px 0;
}

.layout_main p {
	font-size: 1.4rem;
	line-height: 2;
	margin: 0.5em 0;
	padding: 0 2rem;
}

/* -----------------------------------------------------------------------------------------------
	6. List Section
-------------------------------------------------------------------------------------------------- */
li {
	list-style:none;
}


ul.wp-block-list , ol.wp-block-list{
	margin:10px 0 20px 0;
}

ul.wp-block-list > li  {
	list-style:disc;
	list-style-position:outside;
	line-height:1.75;
	margin:0 0 10px 0;
	text-align: justify;
}
.wp-block-list > li > .wp-block-list {
	padding: 0 0 0 1em;
}
.wp-block-list > li > ul.wp-block-list > li {
	list-style:circle;
}


ol.wp-block-list > li {
	list-style:decimal;
	list-style-position:outside;
	line-height:1.75;
	margin:0 0 10px 25px;
	text-align: justify;
}
.wp-block-list > li > ol.wp-block-list > li {
	list-style:decimal;
}



/* query loop */
ul.wp-block-latest-posts {
	margin-bottom: 15px;
}
ul.wp-block-latest-posts + * {
	clear: both;
}
ul.wp-block-latest-posts > li, .wp-block-query .wp-block-post {
	display: block;
	border-bottom: 1px dotted #888888;
	padding: 10px 0;
	margin: 0 0 20px 0;
	overflow: hidden;
}

.wp-block-latest-posts__featured-image {
	width: 200px;
	float:left;
	border-radius: 4px;
	margin-right: 40px;
	overflow: hidden;
}

.wp-block-latest-posts__post-title {
	font-size: 2.0rem;
	line-height: 1.3;
	font-weight: bold;
	color:#3f5c85!important;
	padding: 0;
	border:none;
	margin-bottom: 20px!important;
}
.wp-block-latest-posts__post-date  {
	color: #888888;
	padding-right: 20px;
	font-size: 1.5rem;
	margin: 1rem 0;
}
.wp-block-latest-posts__post-excerpt {
	font-size: 1.6rem;
	line-height: 1.75;
}
.wp-block-latest-posts__post-full-content {
	margin: 1em 0 0 0;
}
.wp-block-latest-posts__post-full-content p {
	padding: 0!important;
	margin-bottom: 10px!important;
}

.block_voice .wp-block-latest-posts__post-title {
	background-image:url(img/h2_back.jpg);
	color: #ffffff!important;
	padding: 6px 16px;
}
.block_voice .wp-block-latest-posts__post-title a {
	color: #ffffff!important;
}

/* pagenation */
.wp-block-query-pagination {
	margin: 30px 0;
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.wp-block-query-pagination > * {
	float: 0 1 auto;
}
.wp-block-query-pagination-numbers {
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.wp-block-query-pagination-numbers .page-numbers {
	float: 0 1 auto;
	width: 30px;
	margin: 0 8px;
	background-color: #e8e8e8;
	padding: 4px 18px 4px 14px;
	border-radius: 4px;
	font-size: 1.4rem;
}
.wp-block-query-pagination-numbers .dots {
	background-color: #ffffff;
}
.wp-block-query-pagination-numbers .current {
	background-color: #3f5c85;
	color: #ffffff;
}
.wp-block-query-pagination-previous, .wp-block-query-pagination-next {
	background-color: #e8e8e8;
	padding: 4px 16px;
	border-radius: 4px;
	font-size: 1.4rem;
}

@media screen and (max-width: 640px) {

	.wp-block-latest-posts__featured-image {
		width: 200px;
		float:none;
		margin: 0 auto 1rem auto;
		overflow: hidden;
	}
}


/* -----------------------------------------------------------------------------------------------
	3. wp tags
-------------------------------------------------------------------------------------------------- */



article.post {
	margin: 0 0 60px 0;
}
.wp-block-group {
	margin-bottom: 100px;
}


.entry-header {
	/*background: #e8e8e8;
	 background: linear-gradient(to bottom, #e8e8e8, #d8d8d8); */
	padding: 0;
	margin: 30px 0 40px 0;
	position: relative;
}
h1.entry-title {
	font-family: serif;
	padding: 20px 24px;
	text-align: left;
	margin: 0 0 2rem 0;

}
h1 ul.post-categories {
	margin: 0 0 2rem 0;
	padding: 0;
	font-size:1.8rem;
}
h1 ul.post-categories li {
	border-bottom: 1px solid #bbbbbb;
	padding-bottom: 6px;
}


.entry-content p {
	font-size:1.7rem;
	line-height:2;
	margin:0 0 2rem 0;
	text-align: justify;
}
.entry-meta .entry-post_date {
	text-align:right;
	font-size:1.6rem;
	color:#666666;
}

.has-text-align-right {
	text-align: right!important;
}
.has-text-align-left {
	text-align: left!important;
}
.has-text-align-center {
	text-align: center!important;
}

.wp-block-image {
	width: 100%;
}
.size-full {
	width: 100%;
}
.single .entry-content .wp-block-image {
	width: 80%;
	margin: 10px 10%;
}

.wp-block-file {
	overflow: hidden;
}
.wp-block-file a {
	font-size: 1.8rem;
}

.wp-block-file a  {
	font-size: 1.8rem;
	line-height: 1.8;
	padding: 12px 20px 12px 40px;
	background-image:url(img/icon_file.png);
	background-repeat:no-repeat;
	background-size: 24px;
	background-position:8px center;
}

a.wp-block-file__button, a.wp-block-file__button:visited {
	color: #ffffff;
	background: #333;
	background-image:none;
	padding: 6px 20px;
}



.nav-links {
	margin: 20px 0;
}
.nav-previous, .nav-next {
	font-size: 1.5rem;
	line-height: 1.5;
	border: 1px dotted #888888;
	padding: 10px 18px;
}

.post-thumbnail {
	width: 100%;
	text-align: center;
}
.post-thumbnail img {
	width: auto;
	height: 300px;
	margin: 0 auto;
}

/* 		
<div class="nav-links">
	<div class="nav-previous"><a href="https://maru.test/2024/12/11/287.html" rel="prev"><span class="nav-subtitle">Previous:</span> <span class="nav-title">第15回「いっしょに読もう！新聞コンクール」の結果が出ました！</span></a></div>
	<div class="nav-next"><a href="https://maru.test/2025/05/05/43.html" rel="next"><span class="nav-subtitle">Next:</span> <span class="nav-title">本郷中合格・西大和中合格・北嶺中合格</span></a></div>
</div>
*/

/* query */
.wp-block-query {
	position: relative;
}
.wp-block-query .wp-block-post {
	position: relative;
}
.wp-block-query .wp-block-post .wp-block-column:first-child {
	background: #f0f0f0;
}
.wp-block-query  .wp-block-post-title {
	background: none;
	text-align: left;
	padding: 0;
	font-size:2.6rem;
	margin: 0 0 1rem 0!important;
}
.wp-block-query  .wp-block-post-date {
	color: #888888;
	margin-bottom: 1rem;
}
.wp-block-query .wp-block-post-excerpt__more-text {
	font-size: 1.3rem;
	text-align: right;
	margin: 0;
}




/* group flex */
.is-layout-flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.is-layout-flex .wp-block-image {
	padding: 0 20px;
}

/* columns */
.entry-content .wp-block-columns {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
}
.entry-content .wp-block-column {
	flex: 0 1 auto;
	width: 48%;
}
.entry-content .wp-block-column img {
	width: 100%!important;
}

/* -----------------------------------------------------------------------------------------------
	4. Button Section
-------------------------------------------------------------------------------------------------- */

/* button */
.entry-content .wp-block-button {
	position: relative;
}
.entry-content a.wp-block-button__link {
	display: inline-block;
	color: #0026b1;
	font-size: 1.6rem;
	padding: 6px 15px;
	background-image: url(img/icon_innerlink.png);
	background-position: right center;
	background-repeat: no-repeat;
	background-size: 20px;
}
.entry-content a.wp-block-button__link:visited {
	color:#0026b1;
}
.entry-content a.wp-block-button__link:hover {
	background-color: #44aaaa;
	color: #ffffff;
}

.pageinner_links {
	margin-bottom: 30px;
}



.btn, .layout_main p.btn {
	width:70%;
	margin:8px auto 8px auto;
	background-color:#ffffff;
	border:2px solid #009999;
	color:#009999;
	border-radius:4px;
	text-align:center;
	padding:12px 12px 10px 12px!important;
	font-size:1.6rem;
	line-height:1.75;
	box-shadow:2px 2px 8px 0 #aaaaaa;
	transition-duration:0.5s;
}
.btn a {
	color:#009999;
	transition-duration:0.5s;
}
.btn:hover {
	background-color:#d1fdb4;
	color:#009999;
	transition-duration:0.5s;
	cursor:pointer;
}
.btn:hover a {
	color:#009999;
	text-decoration:none;
	transition-duration:0.5s;
}
	.btn_thin { padding:6px 0 4px 0; font-size:1.3rem; }

	.btn_orange { background-color:#ee6633; color:#ffffff; border:none; } 
	.btn_orange a { color:#ffffff; }
	.btn_orange:hover a { color:#ee6633; }

	.btn_narrow { width:20%;  }
	
	
.btn_bar {
	width:50%;
	background-color:#ffffff;
	color:#990000;
	text-align:center;
	padding:4px 0 3px 0;
    border:2px solid #990000;
	border-radius:5px;
	font-size:1.8rem;
}
.btn_bar a {
	color:#990000;
}
.btn_bar:hover {
	background-color:#990000;
	color:#ffffff;
	transition-duration:0.5s;
	cursor:pointer;
}
.btn_bar:hover a {
	color:#ffffff;
	text-decoration:none;
	transition-duration:0.5s;
}
.btn_bar_low {
	padding:8px 0 6px 0;
	font-size:1.4rem;
}


.submit {
	text-align:center;
}
.btn_submit, .wpcf7-submit {
	width:70%;
	background-color:#009999;
	background:linear-gradient(120deg, rgb(0, 158, 158), rgb(0, 128, 128));
	color:#ffffff;
	text-align:center;
	padding:18px 0 16px 0!important;
	border-radius:5px;
	font-size:1.8rem;
	border:none;
	margin:0 auto 25px auto!important;
	transition-duration:0.5s;

}
.btn_submit a {
	color:#ffffff;
	display:block;
}
.btn_submit:hover {
	background-color:#33bbbb;
	background:linear-gradient(120deg, rgb(30, 188, 188), rgb(0, 158, 158));
	color:#f6ff00;
	transition-duration:0.5s;
	cursor:pointer;
}
.btn_submit:hover a {
	color:#f6ff00;
	text-decoration:none;
	transition-duration:0.5s;
}







@media screen and (max-width: 640px) {

	.entry-header {
		padding: 10px 10px;
		margin: 0 0 10px 0;
	}
	.layout_main h1, .widget_block h1 {
		font-size: 2.2rem;
	}

	.layout_main h2, .widget_block h2 {

		font-size: 2.4rem;
		
	}
	.layout_main h3, .widget_block h3 {
		
		font-size: 2.0rem;
		
	}
}



/* -----------------------------------------------------------------------------------------------
	3. Element Section       
-------------------------------------------------------------------------------------------------- */

/* form */

.wpcf7 {
	width:100%;
	margin:20px auto;
}
.wpcf7 table {
	border-collapse:collapse;
	list-style-position:inside;
	margin-bottom:30px;
	width:100%;
	font-size:1.5rem;
}
.wpcf7 table td {
	text-align:left;
	border:solid 1px #CCCCCC;
	padding:10px;
	line-height:150%;
	vertical-align:middle;
}
.wpcf7 table td p, .wpcf7 table th p {
	margin: 0;
}
.wpcf7 table th {
	background:#F5F5F5;
	color:#333333;
	border:solid 1px #CCCCCC;
	padding:6px 10px 5px 10px;
	line-height:150%;
	vertical-align:middle;
	text-align: center;
}

.wpcf7-form input[type='text'], 
.wpcf7-form input[type='email'],
.wpcf7-form input[type='password'],
.wpcf7-form input[type='file'],
.wpcf7-form textarea {
	color:#06C;
	width: 98%!important;
}

.wpcf7-form input[type='checkbox'], input[type='radio'] {
	margin-right:4px;
}


.wpcf7-submit {
	width:100%;
	background-color:#009999;
	background:linear-gradient(120deg, rgb(0, 158, 158), rgb(0, 128, 128));
	color:#ffffff;
	text-align:center;
	padding:8px 0 6px 0!important;
	border-radius:5px;
	font-size:1.8rem;
	border:none;
	margin:0 auto 25px auto!important;
	transition-duration:0.5s;
}





/* -----------------------------------------------------------------------------------------------
	4. Each Static Page Section       
-------------------------------------------------------------------------------------------------- */

/* index */

.index_topic {
	position: relative;
	margin-bottom: 100px!important;
}
.index_topic .wp-block-heading {
	font-size:1.3rem;
}
.index_topic .wp-block-latest-posts__featured-image {
	width: 140px;
}

/* index_feature  */
.index_feature {
	position: relative;
}

/* index_course  */
.index_course {
	position: relative;
}
.index_course > .wp-block-group__inner-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}


.index_course h2.wp-block-heading {
	width: 100%;
	background-image:none;
	background: #f0f0f0;
	text-align: center;
	font-size: 3.6rem;
	line-height: 1.25;
	font-family: "Zen Antique", serif;
	color: #444444!important;
	padding: 36px 24px;
	margin-bottom: 60px;
}
.index_course  .wp-block-group {
	flex: 0 1 auto;
	width: 47%;
	margin-bottom: 40px;
}
.index_course  .wp-block-group h4 {
	margin-top: 0;
}
.index_course  .wp-block-group p {
	padding: 0;
	margin-bottom: 0;
}

/* message */
.index_message {
	position: relative;
	font-family: "Zen Antique", serif;
	font-size: 1.7rem;
}






/* pagenator */
.post_pagenator, .posts-navigation .nav-links {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	padding: 8px 8px!important;
	background: #e8e8e8;
	font-size:1.3rem;
	margin-top: 30px;
}
.post_pagenator > *, .posts-navigation .nav-links > * {
	padding:0 20px;
}

/* embed youtube */
.wp-block-embed-youtube {
	margin: 20px auto 70px auto;
}
.wp-block-embed-youtube .wp-block-embed__wrapper {
	width: 100%;
	margin-bottom: 15px;
	text-align: center;
}
.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
	margin: 0 auto;
	border: 1px solid #dddddd;
	padding: 10px;
}
.wp-block-embed-youtube .wp-element-caption {
	font-size: 1.7rem;
	line-height: 1.3;
	color: #444444;
	text-align: center;
}

/* blockquote */ 
.wp-block-quote {
	margin: 0 0 0 2rem;
	font-style: italic;
	color: #444444;
}


/* search */
.layout_content_search article {
	padding-bottom: 20px;
	border-bottom: 1px dotted #888888;
	margin-bottom: 20px;
}
.entry-search-header {
	margin-bottom: 10px;
}
p.entry-search-category {
	margin: 0!important;
	padding: 4px 0!important;
	font-size: 1.3rem;
}
.entry-search-title {
	margin: 0 0 6px 0!important;
	padding: 8px 0 8px 10px;
	background: #e8e8e8;
}

.entry-search-summary {
	padding-left: 2em;
}
.entry-search-summary p {
	margin: 4px!important;
	color: #666666;
}


@media screen and (max-width: 640px) {

	.is-layout-flex  {
		display: block;
	}
	.index_course  .wp-block-group {
		flex: none;
		width: 100%;
		margin-bottom: 40px;
	}


}








/* -----------------------------------------------------------------------------------------------
	4. header section       
-------------------------------------------------------------------------------------------------- */

.layout_header {
	background-color:#ffffff;
	padding:10px 0 0 0;
	border-top:4px solid #88b929;
}
.header_section {
	position: relative;
}

.header_section > section {
	display: block;
	position: relative;
}

.header_logosection {
	display: flex;
	flex-wrap:nowrap;
    justify-content:space-between;
	width: 100%;
	max-width:1080px;
	margin:0 auto 6px auto;
	
}
.header_logosection > figure {
	flex: 0 1 auto;
	margin: 0;
	padding:0!important;
}

.header_logo {
	width: 20%!important;
}
.header_phone {
	width: 20%!important;
	
}
.header_contact {
	width: 16%!important;
}


/* 4-2 Main Navigation*/
.menu-main-menu-container {
	clear: both;
	width: 100%;
    margin:0;
	padding: 0;
	text-align: left;
	/* background-image:url(img/h2_back.jpg); */
}


#menu-main-menu {
	display:flex;
	flex-wrap:nowrap;
    justify-content:space-between;
	max-width:1080px;
	margin:0 auto;
	padding: 0 40px;
}

#menu-main-menu > li {
	flex:0 1 auto;
	padding:6px 8px;
	text-align:center;
	margin:0 1px;
	position:relative;
	cursor:pointer;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	background: #009999;
	font-size: 1.4rem;
}	
#menu-main-menu > li:first-child {
	background:#3f5c85;
	color: #ffffff;
	width: 80px;
}
#menu-main-menu li.current-menu-ancestor {
	background:#d7e8ff;
}

#menu-main-menu a, .menu a:visited {
	color:#ffffff;
}
#menu-main-menu > li:hover {
	color:#000077;
	text-decoration:none;
	transition:0.5s;
	background: #e8e8e8;
}
#menu-main-menu a:hover {
	color:#3f5c85;
	text-decoration:none;
	transition:0.5s;
}

#menu-main-menu > li:first-child:hover {
	background: #7faef0;
	transition:0.5s;
}
#menu-main-menu > li:first-child a ,#menu-main-menu > li:first-child a:visited {
	color: #ffffff;
}
#menu-main-menu > li:last-child {
	display: none;
}


/* site image */

.header_slide {
	position: relative;
	padding: 0;
	margin: 0;
}
.header_slide figure {
	position: relative;
	margin: 0;
	padding: 0;

	width: 100%;
}
.header_slide a {
	width: 100%;
}

/* captiton */
.slide .slide_text {
    text-align: center;
    font-weight: bold;
}
/* nav */
.slide-arrow {
    display: block;
    width: 25px;
    height: 60px;
    background: rgb(192, 192, 192);
    opacity: 1;
    transition: all .3s ease;
    cursor: pointer;
    position:absolute;
    top: 50%;
    bottom:50%;
    z-index: 200;
}
.prev-arrow {
    left: 20px;
    transform: rotate(180deg);
}
.next-arrow {
    right: 20px;
}
.prev-arrow::before,
.next-arrow::before {
    position:absolute;
    content: "";
    width:10px;
    height:10px;
    border-right: 2px solid #FFF;
    border-top: 2px solid #FFF;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
    transform:rotate(45deg);
}

/* dot */
.dots-wrap {
    display: flex;
    justify-content: center;
}

.dots-wrap li {
    list-style: none;
    width: 24px;
    height: 4px;
    margin: 0 5px;
    background: #e0e0e0;
    cursor: pointer;
}

.dots-wrap li:hover,
.dots-wrap li.slick-active {
    background: rgb(255, 173, 80);
}
.dots-wrap li button {
    display: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
}







/* bread menu */
.breadmenu {
    font-size:1.2rem;
	list-style: none;
	padding:0;
	margin: 6px 0;
	text-align: left;
}

.breadmenu li {
	display: inline;
}
.breadmenu li a {
	color: inherit;
	text-decoration: none;
	color: #888888;
}
.breadmenu li + li:before {
	content: ">";
	margin:.5em;
}






@media screen and (max-width: 834px) {
	
	
	
	#menu-main-menu > li, #menu-main-menu > li:first-child {
		width: calc(100%/4);
	}

	.layout_eventbanner section {
		width:48%;
	}
    
}

@media screen and (max-width: 640px) {

}

@media screen and (max-width: 480px) {
	.layout_header {
		padding: 0;
	}


	.header_logosection {
		padding: 0!important ;
		overflow: hidden;
		margin-bottom: 10px;
		display: block;
	}
	
	.header_logo {
		width: 100%!important;
	}
	.header_logo img  {
		width: 50%;
		margin: 0 auto;
	}

	.header_phone {
		display: inline-block;
		width: 45%!important;
	}
	
	.header_contact {
		display: none;
	}
	.slide-arrow {
		height: 0;
		display: none;
	}

    /* 4-2 Main Navigation*/

	.menu-main-menu-container {
		display: none;
		background: rgba(0,0,0,0.8);
		position: fixed;
		z-index: 10;
		width: 100%;
		height: 100%;
		top:0;
		left:0;
		margin: 0;
		padding: 0;
		border-bottom: none;
	}

	#menu-main-menu {
		display:block;
		width: 90%;
		margin:10px auto;
		padding: 0 10px;
	}
	
	#menu-main-menu > li, #menu-main-menu > li:first-child,#menu-main-menu > li:last-child {
		display: block;
		flex:none;
		padding:12px 12px;
		width: 100%;

		text-align:center;
		margin:0 0 15px 0;

		border-radius: 10px;
		background: #009999;
		font-size: 1.6rem;
	}	





	
	
}







/* -----------------------------------------------------------------------------------------------
	5. footer section 
-------------------------------------------------------------------------------------------------- */

/* layout_contact */
.layout_contact {
	margin: 0 0 100px 0;
}
.layout_contact .wrapper {
	background: #eeeeee;
	padding: 20px 40px;
}

.layout_contact h2 {
	background-image:url(img/h2_back.jpg);
	text-align: center;
	font-size: 2.4rem;
	line-height: 1.3;
	color: #ffffff!important;
	padding: 24px 24px;
	margin-bottom: 30px;
}
.layout_contact h4 {
	font-size: 2.0rem;
	line-height: 1.3;
	margin-bottom: 30px;
}
.layout_contact .wp-block-button {
	width:70%;
	background-color:#009999;
	background: linear-gradient(to bottom, #ffb100, #f98600);
	color:#ffffff;
	text-align:center;
	padding:18px 0 16px 0!important;
	border-radius:10px;
	font-size:2.4rem;
	line-height: 1.3;
	border:none;
	margin:0 auto 25px auto!important;
	transition-duration:0.5s;
}
.layout_contact .wp-block-button a {
	color:#ffffff;
}
.layout_contact .footer_phones {
	background: #ffffff;
	padding: 20px 10%;
	width: 100%;
	margin-bottom:15px;
}
.layout_contact .footer_phones > .wp-block-group__inner-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.layout_contact .footer_phones > .wp-block-group__inner-container > .wp-block-group {
	flex: 0 1 auto;
	width: 45%;
	margin: 0;
}
.layout_contact .footer_phones h5 {
	background: #88b929;
	color: #ffffff;
	font-size: 1.6rem;
	padding: 8px 20px;
	margin: 0 0 6px 0;
}
.layout_contact .footer_phones p {
	font-size: 2.8rem;
	line-height: 1.2;
	color: #ed6700;
	font-family: "Lato", sans-serif;
	font-weight: bold;
}
.layout_contact .footer_phones p a {
	color: #ed6700;
}

/* layout_access */
.layout_access {
	position: relative;
}
.layout_access p {
	line-height: 1.5;
	font-size: 1.6rem;
	margin-bottom: 16px;
	text-align: left;
}

.footer_logo {
	width: 300px;
	margin: 20px auto;
}

.layout_access .footer_map_group {
	border-top: 3px solid #88b929;
	margin-bottom: 50px;
	text-align: left;
}
.layout_access .footer_map_group > .wp-block-group__inner-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.layout_access .footer_map_group .wp-block-group {
	flex: 0 1 auto;
	width: 48%;
	margin-bottom: 0;
}
.layout_access .footer_map_group h5 {
	font-size: 1.6rem;
	color: #444444;
	border: 2px solid #888888;
	padding: 10px 20px;
	text-align: center;
}

.layout_access .footer_credit p {
	text-align: center;
	margin-top: 1rem;
}
.layout_access .footer_credit  {
	color: #888888!important;
}

/* copyright */
.layout_copyright {
	padding:36px 0 24px 0;
    background:#333333;
	text-align:center;
}
.layout_copyright p {
	font-size:1.1rem;
	color:#888888;
}


/* smp menu btn */
.smp_menu_btn {
	position: fixed;
	bottom: 0;
	left: 0;
	display: none;
	z-index: 200;
	width: 50px;
	height: 50px;
	opacity: 0.7;
	background-image: url(img/icon_smp_menu2.png);
	background-repeat: no-repeat;
	background-size: 50px;
	cursor: pointer;
}

/* pagetop */
.pagetop {
	position:fixed;
	bottom:0;
	right:0;
	display:block;
	overflow:hidden;
	width:50px;
	height:50px;
    z-index:100;
	background-image: url(img/btn_top4.png);
	background-repeat: no-repeat;
	background-size: 50px;
	filter:alpha(opacity=40); -moz-opacity:0.4; opacity:0.4;
	transition: 0.5s;
	cursor: pointer;
}
.pagetop:hover {
	opacity:1;
	transition: 0.5s;
}





@media screen and (max-width: 834px) {
	
	
	.smp_menu_btn {
		display: block;
	}
}

@media screen and (max-width: 640px) {



	.layout_contact .wp-block-button {
		width:100%;
	}
	.layout_contact .footer_phones > .wp-block-group__inner-container > .wp-block-group,
	.layout_access .footer_map_group .wp-block-group {
		flex: none;
		width: 100%;
		margin-bottom: 0;
	}
	.layout_contact .footer_phones p {
		font-size: 2.4rem;
	}
	
}

@media screen and (max-width: 480px) {

	
	#menu-footer-menu > li {
		width: 100%;
	}

	.layout_footer .wrapper {
		background-image: url(../img/common/logo_200.png);
		background-repeat: no-repeat;
		background-size: 60px;
		background-position: 20px 20px;
		padding:20px 10px 0 100px;
	}

	.smp_menu_btn {
		display: block;
	}

	.layout_copyright {
		padding:20px 0 8px 0;
	}
	
}





/* -----------------------------------------------------------------------------------------------
	8. form section
-------------------------------------------------------------------------------------------------- */

.caution_info {
	margin-bottom:20px;
    font-size:1.7rem;
}
.cautionBlock {
	width:100%;
	margin:0px 0px 20px 0px;
	padding:5px;
	border:1px solid #FC6;
	background:#FFFFF5;
	font-size:1.5rem;
}
.cautionBlock h3 {
	border-bottom:1px solid #FC6;
	padding:4px;
    color:#FF6666;
	font-size:1.4rem;
	font-weight:bold;
	background:#FFFFEE;
}
.cautionBlock ul {
	margin:10px 15px 8px 15px;
}
.cautionBlock li {
	list-style:disc;
	margin:8px 0px 0px 20px;
}

input.radio {
	margin-right:5px;
}


input[type='text'], 
input[type='email'],
input[type='password'],
input[type='file'],
textarea
{
	font-size:1.6rem;
	color:#06F;
	padding:6px;
	border:1px solid #DDD;
	margin:0;
	width:100%;
	background: #f3fbe2;

}
input[type='checkbox'], input[type='radio'] {
	margin-right:4px;
}
input[type='text'],textarea {
	color:#06C;
}
input:focus, textarea:focus, select:focus {
	background-color:#FFC;
}





.formBlock {
	width:100%;
	margin:20px 0;
}
.formBlock table {
	border-collapse:collapse;
	list-style-position:inside;
	margin-bottom:10px;
	width:100%;
	font-size:1.5rem;
}
.formBlock td {
	text-align:left;
	border:solid 1px #CCCCCC;
	padding:12px 20px;
	line-height:150%;
}
.formBlock th {
	background:#F5F5F5;
	color:#333333;
	border:solid 1px #CCCCCC;
	padding:12px 10px 10px 10px;
	line-height:150%;
	width:30%;
	vertical-align: middle;
}

.formBlock th.head {
	background:#333333;
	color:#ffffff;
	font-weight:bold;
	border:solid 1px #CCCCCC;
	padding:6px 20px;
}
.formBlock .caution {
    margin-top:8px;
    color:#555555;
    font-size:1.3rem;
    line-height:1.3;
}

.reqMessage {
    background:#ff6c00;
    color:#ffffff;
    font-size:1.2rem;
    padding:2px 6px 1px 6px;
    border-radius:6px;
	margin-left: 4px;
}

.formBlock #address1 {
    border:none;
    width:39%;
    border-bottom:1px solid #d0d0d0;
}
.formBlock #address2 {
    width:59%;
}
.formBlock label {
	margin-right: 15px;
}

.formBlock .checkbox { 
	 display: inline-block;
}

.formBlock input {
	margin: 4px 0;
}
.formBlock .caution {
	color: #004499;
	margin: 4px 0;
}
.formBlock .error-message {
	background: #ffff00;
	color: #ff0000;
	padding: 1px 4px;
}

.formBlock .formNames div {
	display: inline-block;
	width: 46%;
}
.formBlock .formNames input {
	width: 80%;
}




#policy {
	font-size:1.1rem;
	margin:30px 0 0 0;
}
.formBlock .submit {
	margin:15px 0;
	color:#ff8888;
}
.error-message {
	color: #a04c4c;
}
.ex {
	margin: 5px;
	color: #555555;
	font-size: 1.3rem;
}


.select {
	overflow: hidden;
	width: 60%;
	margin: 10px 0;
	text-align: center;
}
.select select {
	width: 100%;
	padding-right: 1em;
	cursor: pointer;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	border: none;
	outline: none;
	background: transparent;
	background-image: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.select select::-ms-expand {
    display: none;
}
.select {
	position: relative;
	border: 1px solid #bbbbbb;
	border-radius: 2px;
	background: #ffffff;
}
.select::before {
	position: absolute;
	top: 0.8em;
	right: 0.9em;
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #666666;
	pointer-events: none;
}
.select:after {
	position: absolute;
	top: 0;
	right: 2.5em;
	bottom: 0;
	width: 1px;
	content: '';
	border-left: 1px solid #bbbbbb;
}
.select select {
	padding: 8px 38px 8px 8px;
	color: #666666;
}











/*
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments


/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display:block;
	width:100%;
}

.main-navigation ul {
	display:none;
	list-style:none;
	margin:0;
	padding-left:0;
}

.main-navigation ul ul {
	box-shadow:0 3px 3px rgba(0, 0, 0, 0.2);
	float:left;
	position:absolute;
	top:100%;
	left:-999em;
	z-index:99999;
}

.main-navigation ul ul ul {
	left:-999em;
	top:0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display:block;
	left:auto;
}

.main-navigation ul ul a {
	width:200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left:auto;
}

.main-navigation li {
	position:relative;
}

.main-navigation a {
	display:block;
	text-decoration:none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display:block;
}

@media screen and (min-width:37.5em) {

	.menu-toggle {
		display:none;
	}

	.main-navigation ul {
		display:flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin:0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display:flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex:1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align:end;
	flex:1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display:block;
}

.post,
.page {
	margin:0 0;
}

.updated:not(.published) {
	display:none;
}

.page-content,
.entry-content,
.entry-summary {
	margin:1.5em 0 1.5rem 0;
}

.page-links {
	clear:both;
	margin:0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap:break-word;
}

.bypostauthor {
	display:block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin:0 0 1.5em;
}

.widget select {
	max-width:100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border:none;
	margin-bottom:0;
	margin-top:0;
	padding:0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display:inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom:1.5em;
	max-width:100%;
}

.wp-caption img[class*="wp-image-"] {
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.wp-caption .wp-caption-text {
	margin:0.8075em 0;
}

.wp-caption-text {
	text-align:center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom:1.5em;
	display:grid;
	grid-gap:1.5em;
}

.gallery-item {
	display:inline-block;
	text-align:center;
	width:100%;
}

.gallery-columns-2 {
	grid-template-columns:repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns:repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns:repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns:repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns:repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns:repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns:repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns:repeat(9, 1fr);
}

.gallery-caption {
	display:block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display:none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display:block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border:0;
	clip:rect(1px, 1px, 1px, 1px);
	clip-path:inset(50%);
	height:1px;
	margin:-1px;
	overflow:hidden;
	padding:0;
	position:absolute !important;
	width:1px;
	word-wrap:normal !important;
}

.screen-reader-text:focus {
	background-color:#f1f1f1;
	border-radius:3px;
	box-shadow:0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip:auto !important;
	clip-path:none;
	color:#21759b;
	display:block;
	font-size:0.875rem;
	font-family: "Zen Antique", serif;
	height:auto;
	left:5px;
	line-height:normal;
	padding:15px 23px 14px;
	text-decoration:none;
	top:5px;
	width:auto;
	z-index:100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline:0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float:left;

	/*rtl:ignore*/
	margin-right:1.5em;
	margin-bottom:1.5em;
}

.alignright {

	/*rtl:ignore*/
	float:right;

	/*rtl:ignore*/
	margin-left:1.5em;
	margin-bottom:1.5em;
}

.aligncenter {
	clear:both;
	display:block;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:1.5em;
}

