/*!
Theme Name: kids-space
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kids-space
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

kids-space is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
# Import
--------------------------------------------------------------*/
@import url(layouts/content-sidebar.css);

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: "TsukuGoPro-B","FOT-筑紫ゴシック Pro E","ヒラギノ角ゴ ProN","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	    -ms-box-sizing: border-box;
	     -o-box-sizing: border-box;
	        box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	    -ms-box-sizing: border-box;
	     -o-box-sizing: border-box;
	        box-sizing: border-box;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

@media screen and (max-width: 767px) {
	input[type="text"],
	input[type="email"],
	input[type="url"],
	input[type="password"],
	input[type="search"],
	input[type="number"],
	input[type="tel"],
	input[type="range"],
	input[type="date"],
	input[type="month"],
	input[type="week"],
	input[type="time"],
	input[type="datetime"],
	input[type="datetime-local"],
	input[type="color"],
	textarea {
		width: 100%;
	}
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}

a:visited {
	color: purple;
}

a:hover, a:focus, a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation,
.utility-navigation,
.footer-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

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

.main-navigation ul ul,
.utility-navigation ul ul,
.footer-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,
.utility-navigation ul ul ul,
.footer-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul,
.utility-navigation ul ul li:hover > ul,
.utility-navigation ul ul li.focus > ul,
.footer-navigation ul ul li:hover > ul,
.footer-navigation ul ul li.focus > ul {
	left: 100%;
}

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

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

.main-navigation li,
.utility-navigation li,
.footer-navigation li {
	float: left;
	position: relative;
}

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

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

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
	.utility-navigation ul {
		display: block;
	}
}

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

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	text-align: left;
	width: 50%;
}

.comment-navigation .nav-previous a,
.posts-navigation .nav-previous a,
.post-navigation .nav-previous a,
.comment-navigation .nav-next a,
.posts-navigation .nav-next a,
.post-navigation .nav-next a {
	color: #666;
	font-size: 0.9em;
}

.comment-navigation .nav-previous a:before,
.posts-navigation .nav-previous a:before,
.post-navigation .nav-previous a:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 400;
	content: "\f100\00a0";
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.comment-navigation .nav-next a:after,
.posts-navigation .nav-next a:after,
.post-navigation .nav-next a:after {
	font-family: "Font Awesome 5 Pro";
	font-weight: 400;
	content: "\00a0\f101";
}

/*--------------------------------------------------------------
# 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; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

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

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

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

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

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

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

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

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

div#page {
	overflow: hidden;
}

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

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# 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 embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* 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;
}

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

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Customize
--------------------------------------------------------------*/
.shadow {
	-webkit-box-shadow: rgba(0,0,0,.1) 0 3px 3px 0;
	   -moz-box-shadow: rgba(0,0,0,.1) 0 3px 3px 0;
	    -ms-box-shadow: rgba(0,0,0,.1) 0 3px 3px 0;
	     -o-box-shadow: rgba(0,0,0,.1) 0 3px 3px 0;
	        box-shadow: rgba(0,0,0,.1) 0 3px 3px 0;
}

.post,
.page {
	margin: 0;
}

#news-list .page-title,
#blog-list .page-title,
#news_category-list .page-title,
#blog_category-list .page-title,
#search-result-list .page-title,
.not-found .page-title,
.post .entry-title,
.page .entry-title,
.news .entry-title,
.blogs .entry-title {
	font-family: tbchibirgothicplusk-pro,sans-serif;
	font-weight: 900;
	text-align: left;
}

.news .entry-title a,
.blogs .entry-title a,
#search-result-list .entry-title a {
	color: #666;
}

#news-list .page-header,
#blog-list .page-header,
#news_category-list .page-header,
#blog_category-list .page-header,
#search-result-list .page-header,
.page .entry-header,
#topic .entry-header,
#blog .entry-header {
	position: relative;
}

#news-list .page-header .page-title,
#blog-list .page-header .page-title,
#news_category-list .page-header .page-title,
#blog_category-list .page-header .page-title,
#search-result-list .page-header .page-title,
.not-found .page-header .page-title,
.page .entry-header .entry-title {
	padding-left: 20px;
}

#news-list .page-header .page-title:before,
#blog-list .page-header .page-title:before,
#news_category-list .page-header .page-title:before,
#blog_category-list .page-header .page-title:before,
#search-result-list .page-header .page-title:before,
.not-found .page-header .page-title:before,
.page .entry-header .entry-title:before,
#topic .entry-header .entry-title:before,
#blog .entry-header .entry-title:before {
	content: "";
	display: inline-block;
	background: url("images/kids-kun.png") no-repeat;
	background-size: 31px 44px;
	width: 31px;
	height: 44px;
	margin-right: 10px;
	vertical-align: top;
}

#search-result-list .page .entry-header .entry-title:before {
	content: none;
}

.post .entry-content h1,
.page .entry-content h1,
.page .entry-summary h1,
.post .entry-content h2,
.page .entry-content h2,
.page .entry-summary h2,
.post .entry-content h3,
.page .entry-content h3,
.page .entry-summary h3,
.post .entry-content h4,
.page .entry-content h4,
.page .entry-summary h4 {
	font-family: tbchibirgothicplusk-pro,sans-serif;
	font-weight: 900;
}

.page .post-thumbnail img {
	border-radius: 5px;
}

#news-list .entry-list,
#blog-list .entry-list,
#news_category-list .entry-list,
#blog_category-list .entry-list,
#search-result-list .entry-list,
#search-result-list .page-content,
.not-found .page-content,
.page .entry-content,
#topic .entry-content,
#blog .entry-content {
	position: relative;
	background: #fff;
	border-radius: 5px;
	padding: 20px 40px;
	-webkit-box-shadow: 1px 1px 3px -2px rgba(102, 102, 102, 1);
	   -moz-box-shadow: 1px 1px 3px -2px rgba(102, 102, 102, 1);
	    -ms-box-shadow: 1px 1px 3px -2px rgba(102, 102, 102, 1);
	     -o-box-shadow: 1px 1px 3px -2px rgba(102, 102, 102, 1);
	        box-shadow: 1px 1px 3px -2px rgba(102, 102, 102, 1);
	text-align: left;
}

.page .entry-content h2 {
	background: url("images/line_dots_green.png") repeat-x bottom;
	padding: 0 0 15px 10px;
}

.page .entry-content h3 {
	border-left: 8px solid #8ec31e;
	padding: 0 0 2px 10px;
}

.news .entry-content .day,
.blogs .entry-content .day {
	font-size: 0.8rem;
}

.entry-content p a {
	color: #666;
}

@media (min-width: 751px) {
	.entry-content ul li a[href*="tel:"],
	.entry-content .tablepress tbody td a[href*="tel:"] {
		color: #404040;
		pointer-events: none;
		cursor: default;
		text-decoration: none;
	}
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

.site-header {
	background: #fff;
	position: relative;
	padding-bottom: 10px;
	z-index: 1000;
	width: 100%;
}

.utility-widget {
	width: 100%;
	font-size: 11px;
}

.utility-navigation {
	width: 100%;
	display: -webkit-box;
	display: -ms-flex;
	display: flex;
	-webkit-box-pack: end;
	   -ms-flex-pack: end;
	 justify-content: flex-end;
	-webkit-box-align: center;
	   -ms-flex-align: center;
	      align-items: center;
	height: 60px;
	padding-right: 10px;
	white-space: nowrap;
}

.utility-navigation li a:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 400;
	color: #666;
	content: "\f0e8\00a0";
}

.utility-navigation li,
.utility-navigation li a {
	color: #666;
	font-family: tbchibirgothicplusk-pro,sans-serif;
}

#header-search {
	margin-left: 10px;
}

#header-search .searchform {
	margin: 34px 0 40px 0;
	position: relative;
}

#header-search .searchfield {
	font-size: 12px;
	width: 190px;
	padding: 5px 10px;
	border-radius: 20px;
	color: #666;
}

#header-search .searchsubmit {
	position: absolute;
	top: 5px;
	right: 5px;
	font-family: "Font Awesome 5 Pro";
	font-weight: 400;
	font-size: 16px;
	width: 30px;
	height: 20px;
	background: transparent;
	padding: 0;
	border: none;
	cursor: pointer;
	color: #666;
}

.main-navigation ul#primary-menu > li {
	border-left: 1px dashed #666;
	text-align: center;
}

.main-navigation ul#primary-menu > li:last-child {
	border-right: 1px dashed #666;
}

.main-navigation ul li a {
	font-family: tbchibirgothicplusk-pro,sans-serif;
	color: #666;
	padding: 0 12px;
	display: inline-block;
	min-width: 150px;
	max-width: 165px;
	font-size: 14px;
}

.main-navigation li .sub-menu {
	width: 100%;
	display: block;
	overflow: hidden;
	background: #e2fcab;
	background: -webkit-linear-gradient(left,  #e2fcab 0%,#a8f7d2 100%);
	background: -moz-linear-gradient(left,  #e2fcab 0%, #a8f7d2 100%);
	background: -ms-linear-gradient(left,  #e2fcab 0%, #a8f7d2 100%);
	background: -o-linear-gradient(left,  #e2fcab 0%, #a8f7d2 100%);
	background: linear-gradient(to right,  #e2fcab 0%,#a8f7d2 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2fcab', endColorstr='#a8f7d2',GradientType=1 );
}

.main-navigation ul#primary-menu > li > ul.sub-menu > li {
	display: inline-block;
}

/*--------------------------------------------------------------
## Content
--------------------------------------------------------------*/

.bread_crumb {
	display: none;
}
@media screen and (min-width: 768px) {
	.bread_crumb {
		display: block;
	}
}
.bread_crumb {
	position: absolute;
	bottom: -10px;
	right:20px;
	font-size: 0.7rem;
}

.bread_crumb a {
	color: #666;
}

.bread_crumb span.home:before,
.bread_crumb ul:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 400;
	content: '\f015\00a0';
	color: #666;
}

.bread_crumb ul {
	padding-left: 0;
	margin-top: 0;
	margin-bottom: 0;
	list-style: none;
	display: -webkit-box;
	display: -ms-flex;
	display: flex;
	-ms-flex-wrap: wrap;
	   flex-wrap: wrap;
}

.bread_crumb li {
	display: inline-block;
	position: relative;
	padding-right: calc(16px + 8px);
	margin-right: 8px;
	color: #666;
}

.bread_crumb li::before {
	content: '›';
	width: 1em;
	height: 1em;
	line-height: 1;
	text-align: center;
	font-size: 1em;
	color: inherit;
	position: absolute;
	top: 50%;
	right: 0;
	-webkit-transform: translateY(-50%);
	   -moz-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	     -o-transform: translateY(-50%);
	        transform: translateY(-50%);
}

.bread_crumb li:last-child {
	margin-right: 0;
	padding-right: 0;
	color: #666;
}

.bread_crumb li:last-child::before {
	content: normal;
}

.title-font {
	font-family: tbchibirgothicplusk-pro,sans-serif;
	font-weight: 400;
	font-style: normal;
}

.title-font .fa-circle {
	font-size: 12px;
}

.front-spacer:before {
	content: "\00A0";
	margin-left: 10px;
}

.back-spacer:after {
	content: "\00A0";
	margin-right: 10px;
}

#latest-topics,
#latest-columns {
	display: -webkit-box;
	display: -ms-flex;
	display: flex;
	  -ms-flex-pack: distribute;
	justify-content: space-around;
}

/*--------------------------------------------------------------
### Topics & Columns
--------------------------------------------------------------*/

#top-content {
	display: -webkit-box;
	display: -ms-flex;
	display: flex;
	-webkit-box-pack: center;
	   -ms-flex-pack: center;
	 justify-content: center;
	-webkit-box-orient: vertical;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

#home-topics,
#home-columns {
	width: 100%;
	margin: 0;
}

#latest-topics,
#latest-columns {
	width: 100%;
	background: rgba(255, 255, 255, 0.7);
	min-height: 100px;
	-webkit-box-orient: vertical;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
	margin: 20px auto;
	border-radius: 0 0 5px 5px;
}

#latest-topics-title {
	background: #8ec31e;
	-webkit-box-shadow: 0px 3px 0px 0px rgba(0,133,84,1);
	   -moz-box-shadow: 0px 3px 0px 0px rgba(0,133,84,1);
	    -ms-box-shadow: 0px 3px 0px 0px rgba(0,133,84,1);
	     -o-box-shadow: 0px 3px 0px 0px rgba(0,133,84,1);
	        box-shadow: 0px 3px 0px 0px rgba(0,133,84,1);
}

#latest-columns-title {
	/*background: #920683;*/
	/*background: #924089;*/
	background: #cc1669;
	/*
	-webkit-box-shadow: 0px 3px 0px 0px rgba(38,31,135,1);
	   -moz-box-shadow: 0px 3px 0px 0px rgba(38,31,135,1);
	    -ms-box-shadow: 0px 3px 0px 0px rgba(38,31,135,1);
	     -o-box-shadow: 0px 3px 0px 0px rgba(38,31,135,1);
	        box-shadow: 0px 3px 0px 0px rgba(38,31,135,1);
	*/
	-webkit-box-shadow: 0px 3px 0px 0px rgba(166,18,85,1);
	   -moz-box-shadow: 0px 3px 0px 0px rgba(166,18,85,1);
	    -ms-box-shadow: 0px 3px 0px 0px rgba(166,18,85,1);
	     -o-box-shadow: 0px 3px 0px 0px rgba(166,18,85,1);
	        box-shadow: 0px 3px 0px 0px rgba(166,18,85,1);
}

#latest-topics-title,
#latest-columns-title {
	color: #fff;
	padding-left: 40px;
	display: -webkit-box;
	display: -ms-flex;
	display: flex;
	-webkit-box-align: center;
	   -ms-flex-align: center;
	      align-items: center;
}

#latest-topics-title h2,
#latest-columns-title h2,
#latest-topics-title .show-all,
#latest-columns-title .show-all {
	width: 100%;
}

#latest-topics-title h2,
#latest-columns-title h2 {
	white-space: nowrap;
	text-align: left;
}

#latest-topics-title .show-all,
#latest-columns-title .show-all {
	font-family: tbchibirgothicplusk-pro,sans-serif;
	text-align: right;
	padding-right: 20px;
}

#latest-topics-title .show-all a,
#latest-columns-title .show-all a {
	color: #fff;
	text-decoration: none;
	font-size: 1.0rem;
}

.latest-group {
	position: relative;
}

.latest-group > section:first-of-type {
	border-top: none;
}
.latest-group > section {
	border-top: 3px dotted #ccc;
	margin: 0 20px;
	text-align: left;
}

#latest-topics article,
#latest-columns article {
	width: 100%;
	padding: 10px 20px;
}

#latest-topics article a,
#latest-columns article a {
	color: #666;
	text-decoration: none;
}

#latest-topics article .category,
#latest-topics article .category-none,
#latest-columns article .category,
#latest-columns article .category-none {
	display: inline-block;
	font-size: 12px;
	line-height: 16px;
	padding: 0 5px;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	    -ms-border-radius: 3px;
	     -o-border-radius: 3px;
	        border-radius: 3px;
}

#latest-topics article .category,
#latest-columns article .category {
	background: #f5a500;
	color: #fff;
	border: 1px solid #f5a500;
}

#latest-topics article .category-none,
#latest-columns article .category-none {
	background: #666;
	color: #fff;
	border: 1px solid #666;
}

#latest-topics article .day,
#latest-columns article .day {
	display: inline-block;
	font-size: 12px;
	line-height: 16px;
}

#latest-topics article .title,
#latest-columns article .title {
	display: block;
	font-size: 15px;
	line-height: 15px;
	margin-top: 5px;
	text-decoration: underline;
}

#news-list .site-main,
#blog-list .site-main,
#topic .site-main,
#blog .site-main,
#news_category-list .site-main,
#blog_category-list .site-main,
#search-result-list .site-main {
	display: -webkit-box;
	display: -ms-flex;
	display: flex;
	  -ms-flex-pack: distribute;
	justify-content: space-around;
	width: 100%;
}
@media screen and (min-width: 1000px) {
	#news-list .site-main,
	#blog-list .site-main,
	#topic .site-main,
	#blog .site-main,
	#news_category-list .site-main,
	#blog_category-list .site-main,
	#search-result-list .site-main {
		width: 1000px;
	}
}

#news-list .list-content,
#blog-list .list-content,
#topic .single-content,
#blog .single-content,
#news_category-list .list-content,
#blog_category-list .list-content,
#search-result-list .list-content {
	width: 100%;
	position: relative;
}

#news-list .entry-list,
#blog-list .entry-list,
#news_category-list .entry-list,
#blog_category-list .entry-list,
#search-result-list .entry-list {
	display: -webkit-box;
	display: -ms-flex;
	display: flex;
	-webkit-box-pack: start;
	   -ms-flex-pack: start;
	 justify-content: start;
	padding: 20px 25px;
	-ms-flex-wrap: wrap;
	   flex-wrap: wrap;
}

#news-list .entry-list article,
#blog-list .entry-list article,
#news_category-list .entry-list article,
#blog_category-list .entry-list article,
#search-result-list .entry-list article {
	width: 100%;
	margin: 5px 8px;
}
@media screen and (min-width: 768px) {
	#news-list .entry-list article,
	#blog-list .entry-list article,
	#news_category-list .entry-list article,
	#blog_category-list .entry-list article,
	#search-result-list .entry-list article {
		width: 30%;
		margin: 5px 8px;
	}
}

@media screen and (min-width: 1000px) {
	#news-list .entry-list article,
	#blog-list .entry-list article,
	#news_category-list .entry-list article,
	#blog_category-list .entry-list article,
	#search-result-list .entry-list article {
		width: 31%;
		margin: 5px 8px;
	}
}

#news-list .entry-list article h2,
#blog-list .entry-list article h2,
#news_category-list .entry-list article h2,
#blog_category-list .entry-list article h2,
#search-result-list .entry-list article h2 {
	font-size: 1.2rem;
}

/*--------------------------------------------------------------
### Banner
--------------------------------------------------------------*/

.right-arrow {
	color: #156eb2;
	width: 100%;
	text-align: center;
	font-size: 60px;
}

.circle {
	padding-top: 50px;
}

@media screen and (min-width: 768px) {
	.circle {
		position: relative;
		padding-top: 0px;
		width: 100%;
		height: 100%;
		-webkit-border-radius: 50%;
		   -moz-border-radius: 50%;
		    -ms-border-radius: 50%;
		     -o-border-radius: 50%;
		        border-radius: 50%;
	}
	
	.circle img {
		-webkit-border-radius: 50%;
		   -moz-border-radius: 50%;
		    -ms-border-radius: 50%;
		     -o-border-radius: 50%;
		        border-radius: 50%;
	}
	
	.circle .mask {
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		opacity: 0;
		background: rgba(255, 255, 255, 0.7);
		-webkit-transition: all 0.6s ease;
		   -moz-transition: all 0.6s ease;
		    -ms-transition: all 0.6s ease;
		     -o-transition: all 0.6s ease;
		        transition: all 0.6s ease;
	}
	
	.circle:hover .mask {
		opacity: 1;
		padding-left: calc(50% - 50px);
	}
	
	.circle .mask a,
	.circle .mask span {
		height: 100%;
	}
	
	.circle .mask a {
		display: inline-block;
		color: #156eb2;
		text-decoration: none;
	}
	
	.circle .mask span {
		display: -webkit-box;
		display: -ms-flex;
		display: flex;
		-webkit-box-align: center;
		   -ms-flex-align: center;
		      align-items: center;
	}
}

#banner-title {
	text-align: center;
	color: #000;
	position: relative;
}

#banner-title > .title-font {
	font-size: 1.5em;
}

@media screen and (min-width: 768px) {
	#banner-title > .title-font:before {
		content: "";
		position: absolute;
		display: inline-block;
		background: url("images/squirrel.png") no-repeat;
		background-size: 31px 71px;
		width: 31px;
		height: 71px;
		bottom: -300px;
		left: -5px;
	}
	
	#banner-title .title-font:after {
		content: "";
		position: absolute;
		display: inline-block;
		background: url("images/flying_bird.png") no-repeat;
		background-size: 80px 71px;
		width: 80px;
		height: 71px;
		top: -23px;
		right: -5px;
	}
}

#banner-title,
#banner-articles {
	width: 100%;
}

#banner-articles .banner-group article .article-title {
	position: absolute;
	top: 0;
	width: 100%;
	color: #fff;
	background: #64cdff;
	display: -webkit-box;
	display: -ms-flex;
	display: flex;
	-webkit-box-pack: center;
	   -ms-flex-pack: center;
	 justify-content: center;
	-webkit-box-align: center;
	   -ms-flex-align: center;
	      align-items: center;
	white-space: nowrap;
	font-size: 20px;
	padding: 10px;
	font-weight: 900;
}

#banner-articles .banner-group article .article-title a {
	color: #fff;
	text-decoration: none;
	font-family: tbchibirgothicplusk-pro,sans-serif;
	font-weight: 900;
}

@media screen and (min-width: 768px) {
	#banner-articles .banner-group article .article-title {
		position: relative;
		color: #666;
		background: initial;
		background: rgba(0, 0, 0, 0);
		display: -webkit-box;
		display: -ms-flex;
		display: flex;
		-webkit-box-pack: center;
		   -ms-flex-pack: center;
		 justify-content: center;
		-webkit-box-align: center;
		   -ms-flex-align: center;
		      align-items: center;
		white-space: nowrap;
		font-size: 20px;
		padding: 10px;
		font-weight: 900;
	}
	
	#banner-articles .banner-group article .article-title a {
		color: #666;
		text-decoration: none;
		font-family: tbchibirgothicplusk-pro,sans-serif;
		font-weight: 900;
	}
}

/*--------------------------------------------------------------
### About
--------------------------------------------------------------*/

#about .entry-content ul,
#about .entry-content ol,
#one-column-page .entry-content ul,
#one-column-page .entry-content ol {
	margin: 0 0 1.5em 0;
}

.jimukyoku-kids-kun {
	-ms-grid-columns: 15% 1fr;
}

.map {
	-ms-grid-columns: 37% 1fr;
}

/*--------------------------------------------------------------
### Contact
--------------------------------------------------------------*/

.required {
	display: inline-block;
	font-size: 0.7rem;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	    -ms-border-radius: 3px;
	     -o-border-radius: 3px;
	        border-radius: 3px;
	background: #e61639;
	color: #fff;
	padding: 2px 5px;
	margin-left: 3px;
	margin-bottom: 3px;
	vertical-align: middle;
}

.entry-content input[type="submit"] {
	display: inline-block;
	font-size: 1.25rem;
	width: 200px;
}

.entry-content form p:nth-last-child(2) {
	text-align: center;
}

div.wpcf7-mail-sent-ok {
	color: #155724;
	-webkit-border-radius: 0.25rem;
	   -moz-border-radius: 0.25rem;
	    -ms-border-radius: 0.25rem;
	     -o-border-radius: 0.25rem;
	        border-radius: 0.25rem;
	background: #d4edda;
	border: 1px #c3e6cb solid;
	padding: 0.75rem 1.25rem;
}

div.wpcf7-mail-sent-ng {
	color: #721c24;
	-webkit-border-radius: 0.25rem;
	   -moz-border-radius: 0.25rem;
	    -ms-border-radius: 0.25rem;
	     -o-border-radius: 0.25rem;
	        border-radius: 0.25rem;
	background: #f8d7da;
	border: 1px #f5c6cb solid;
	padding: 0.75rem 1.25rem;
}

div.wpcf7-spam-blocked {
	color: #0c5460;
	-webkit-border-radius: 0.25rem;
	   -moz-border-radius: 0.25rem;
	    -ms-border-radius: 0.25rem;
	     -o-border-radius: 0.25rem;
	        border-radius: 0.25rem;
	background: #d1ecf1;
	border: 1px #bee5eb solid;
	padding: 0.75rem 1.25rem;
}

div.wpcf7-validation-errors {
	color: #856404;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	    -ms-border-radius: 3px;
	     -o-border-radius: 3px;
	        border-radius: 3px;
	background: #fff3cd;
	border: 1px #ffeeba solid;
	padding: 0.75rem 1.25rem;
}

@media screen and (max-width: 767px) {
	div.access-wrap {
		display: -webkit-box;
		display: -ms-flex;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-flex-direction: column;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
	
	.wp-block-media-text .wp-block-media-text__content {
		padding: 0;
	}
}

/*--------------------------------------------------------------
### Sitemap
--------------------------------------------------------------*/

#sitemap .entry-content ul {
	display: -webkit-box;
	display: -ms-flex;
	display: flex;
	list-style: none;
	-ms-flex-wrap: wrap;
	   flex-wrap: wrap;
	font-size: 0.9rem;
	padding-left: 20px;
	margin-left: 0;
	margin-bottom: 0;
}

#sitemap .entry-content ul li {
	padding-right: calc(16px + 8px);
}

#sitemap .entry-content ul li:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 400;
	content: "\f101\00a0";
}

#sitemap .entry-content ul li a {
	color: #666;
	text-decoration: none;
}

#sitemap .entry-content ul li a:hover {
	text-decoration: underline;
}

/*--------------------------------------------------------------
## Widget
--------------------------------------------------------------*/

aside.widget-area {
	margin-top: 40px;
	margin-right: 20px;
}

aside .widget_categories,
aside .widget_archive {
	font-family: tbchibirgothicplusk-pro,sans-serif;
	font-weight: 900;
	background: #fff;
	border-radius: 5px;
	padding: 1px 5px;
}

aside .widget_categories h2,
aside .widget_archive h2 {
	font-size: 1.2rem;
	color: #666;
	padding-left: 10px;
	border-bottom: 5px dotted #ccc;
}

aside .widget_categories h2:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 400;
	color: #666;
	content: "\f02c\00a0";
}

aside .widget_archive h2:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 400;
	color: #666;
	content: "\f073\00a0";
}

aside .widget_categories ul,
aside .widget_archive ul {
	list-style: none;
	margin-left: 0.5em;
	padding-left: 20px;
	font-size: 0.9rem;
}

aside .widget_categories ul li a,
aside .widget_archive ul li a {
	color: #666;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

.footer-content {
	height: 100%;
	display: -webkit-box;
	display: -ms-flex;
	display: flex;
	-webkit-box-pack: center;
	   -ms-flex-pack: center;
	 justify-content: center;
	-webkit-box-align: center;
	   -ms-flex-align: center;
	      align-items: center;
	-webkit-box-orient: vertical;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
	z-index: 1;
}

.footer-navigation,
.site-info {
	background: #64cc5c url("images/bg-footer.png") repeat-x;
	color: #fff;
	font-size: 12px;
	width: 100%;
	text-align: center;
}

#footer-background {
	position: relative;
	height: 40px;
	width: 100%;
	background: #64cc5c url("images/bg-footer.png") repeat-x;
	-webkit-box-shadow: 0px -3px 0px 0px rgba(0,133,84,1);
	   -moz-box-shadow: 0px -3px 0px 0px rgba(0,133,84,1);
	    -ms-box-shadow: 0px -3px 0px 0px rgba(0,133,84,1);
	     -o-box-shadow: 0px -3px 0px 0px rgba(0,133,84,1);
	        box-shadow: 0px -3px 0px 0px rgba(0,133,84,1);
}

@media screen and (min-width: 768px) {
	#footer-background {
		height: 70px;
	}
	.footer-navigation ul {
		display: inline-block;
	}
}

.footer-navigation ul#footer-menu > li {
	border-right: 1px dotted #a8f7d2;
	text-align: center;
}

.footer-navigation ul#footer-menu > li:last-child {
	border-right: none;
}

.footer-navigation ul li a {
	color: #fff;
	padding: 0 12px;
	display: inline-block;
	min-width: 150px;
	max-width: 165px;
}

.site-info {
	padding-bottom: 10px;
}

.no-image {
	border: #666 solid 1px;
}

.entry-footer {
	text-align: left;
}

/* 親要素（コンテナ）のスタイル */
.image-container {
  position: relative; /* 子要素を絶対位置で配置するための基準となります */
  width: 100%; /* 横幅を親要素いっぱいに広げます */
  max-width: 500px; /* ただし、最大でも500px以上にはなりません */
  margin: 0 auto; /* 中央揃えにします */
}

/* 画像のスタイル */
.image-container img {
  width: 100%; /* 親要素の幅に合わせて画像の幅を100%にします */
  height: auto; /* 高さは自動調整して、画像の比率を保ちます */
  display: block; /* 画像の下にできる余分な隙間をなくします */
}

/* テキストのスタイル */
.image-container .overlay-text {
  position: absolute; /* 親要素を基準にした絶対位置に配置します */
  top: 50%;
  left: 50%;
  /* 要素自体の幅と高さの50%分を移動させて、中央に配置します */
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: #333; /* 文字色を指定（見やすいように） */
  font-weight: bold; /* 文字を太く（見やすいように） */
  white-space: nowrap; /* テキストが折り返されないようにします */
}

/* --- レスポンシブ対応 --- */
/* 画面の横幅が600px以下の場合に適用されるスタイル */
@media (max-width: 600px) {
  .overlay-text {
    font-size: 16px; /* 文字サイズを少し小さくします */
  }
}

/* 画面の横幅が400px以下の場合に適用されるスタイル */
@media (max-width: 400px) {
  .overlay-text {
    font-size: 12px; /* さらに文字サイズを小さくします */
  }
}

/* 全体のコンテナ */
.card-container {
  display: -webkit-flex; /* Safari, Chrome向けプレフィックス */
  display: flex; /* 標準の記述 */
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 20px;
}

/* 各カードの基本スタイル */
.info-card {
  position: relative; /* テキストを重ねるための基準 */
  text-align: center;
  -webkit-flex: 1 1 280px; /* Safari, Chrome向け */
  -ms-flex: 1 1 280px;     /* Internet Explorer向け */
  flex: 1 1 280px;         /* 標準の記述 */
  max-width: 300px; /* カードが大きくなりすぎないように最大幅を指定 */
}

.info-card img {
  width: 100%; /* 親要素の幅いっぱいに画像を表示 */
  height: auto;
  display: block; /* 画像下の余分な隙間を削除 */
}

/* 画像に重ねるテキストのスタイル */
.text-overlay {
  width: 75%; /* カードの幅に対して85%の幅にする */
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #333; /* 文字色を見やすく設定 */
}

.text-overlay .title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.text-overlay .description {
  font-size: 14px;
  line-height: 1.5; /* 行の高さを調整して読みやすく */
}


/* --- ↓↓ここからがレスポンシブ対応のキモ！↓↓ --- */

/* 画面の横幅が600px以下の場合に適用 */
@media (max-width: 600px) {
  .card-container {
    flex-direction: column; /* 横並びから縦並びに変更 */
    align-items: center;   /* 縦並びになったカードを中央に揃える */
  }
}

/* 全体を囲むコンテナ */
.container {
  display: -webkit-flex; /* ベンダープレフィックス */
  display: flex;
  -webkit-flex-wrap: wrap; /* 折り返しを有効に */
  flex-wrap: wrap;
  -webkit-align-items: center; /* 要素の縦方向の中央揃え */
  align-items: center;
  -webkit-justify-content: center; /* 要素の横方向の中央揃え */
  justify-content: center;
  overflow: hidden; /* はみ出し防止 */
}

/* 左側のカラム（マスコット画像） */
.left-column {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center; /* デフォルトで中央揃えに */
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-flex: 1 1 300px; /* flexの指定 */
  -ms-flex: 1 1 300px;
  flex: 1 1 300px;
  padding: 20px;
}

.mascot-image {
  width: 100%;
  max-width: 200px; /* 最大幅を指定 */
  height: auto;
}

/* 右側のカラム（背景画像とテキスト） */
.right-column {
  position: relative;
  -webkit-flex: 2 1 500px; /* flexの指定（左より少し大きく） */
  -ms-flex: 2 1 500px;
  flex: 2 1 500px;
}

.background-image {
  width: 100%;
  height: auto;
  display: block;
}

.right-column .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -60%);
  -ms-transform: translate(-5%, -60%);
  transform: translate(-50%, -60%);
  
  /* 画面サイズに応じて文字サイズが滑らかに変わるように設定 */
  font-size: clamp(14px, 3vw, 20px); 
  
  font-weight: bold;
  line-height: 1.6;
  color: #333;
  white-space: nowrap;
}

/* --- レスポンシブ対応 --- */
/* 画面幅が915pxより大きい場合 */
@media (min-width: 916px) {
  .left-column {
    /* PC表示のときだけ右に寄せる */
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
  }
}

/* 全体を囲むコンテナ */
.qualification-container {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap; /* 画面が狭くなったら折り返す */
  flex-wrap: wrap;
  -webkit-align-items: center; /* 縦方向の中央揃え */
  align-items: center;
  -webkit-justify-content: center; /* 横方向の中央揃え */
  justify-content: center;
  gap: 20px; /* 要素間の隙間 */
  padding: 20px;
}

/* 左: 画像エリア */
.image-box {
  position: relative;
  -webkit-flex: 0 1 180px; /* 伸びず、縮み、基本幅180px */
  -ms-flex: 0 1 180px;
  flex: 0 1 180px;
}

.image-box .background-image {
  width: 100%;
  height: auto;
  display: block;
}

.image-box .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -60%);
  -ms-transform: translate(-50%, -60%);
  transform: translate(-50%, -60%);
  color: white;
  font-size: clamp(16px, 4vw, 18px); /* レスポンシブな文字サイズ */
  white-space: nowrap;
}

/* 右: テキストエリア */
.text-box {
  font-weight: bold;
  font-size: clamp(18px, 4vw, 20px); /* レスポンシブな文字サイズ */
  line-height: 1.6;
}

/* --- レスポンシブ対応 --- */
/* 画面幅が480px以下の場合 */
@media (max-width: 480px) {
  .text-box {
    text-align: center; /* 縦並びのときにテキストを中央揃えに */
  }
}

/* 全体を囲むコンテナ */
.schedule-container {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap; /* 折り返しを有効に */
  flex-wrap: wrap;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  font-family: sans-serif; /* フォントを指定して見やすく */
}

/* 左: 画像エリア */
.image-box {
  position: relative;
  -webkit-flex: 0 1 180px;
  -ms-flex: 0 1 180px;
  flex: 0 1 180px;
}

.image-box .background-image {
  width: 100%;
  height: auto;
  display: block;
}

.image-box .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -60%);
  -ms-transform: translate(-50%, -60%);
  transform: translate(-50%, -60%);
  color: white;
  font-size: clamp(16px, 4vw, 18px);
  white-space: nowrap;
}

/* 右: テキストとテーブルのエリア */
.info-box {
  -webkit-flex: 1 1 320px;
  -ms-flex: 1 1 320px;
  flex: 1 1 320px;
}

.info-text {
  font-weight: bold;
  font-size: clamp(18px, 4vw, 20px);
  margin: 0 0 10px 0; /* テーブルの上のテキストの余白 */
}

/* テーブルのスタイル */
.schedule-table {
  width: 100%;
  border-collapse: collapse; /* セルの境界線を結合 */
  padding: 5px;
}

.schedule-table td {
  padding: 8px;
  text-align: center;
}

.day-type {
  background: #D9D9D9;
  font-weight: bold;
}

.time-slot.school-day {
  background: #BDD7EE;
}

.time-slot.vacation {
  background: #FFE699;
}


/* --- ↓↓ここからがレスポンシブ対応のキモ！↓↓ --- */

/* 画面幅が600px以下の場合 */
@media (max-width: 600px) {
  /* テキストを中央揃えに */
  .info-text {
    text-align: center;
  }
  
  /* テーブルを縦並びのリスト風に変換 */
  .schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td {
    display: block;
    width: 100%;
  }
  
  .schedule-table tr {
    margin-bottom: 10px; /* 各項目の間に隙間を作る */
  }
  
  .schedule-table td {
    text-align: center;
    box-sizing: border-box; /* paddingを含めて幅100%にする */
  }

  /* 1行目のヘッダー部分 */
  .day-type {
    border-radius: 5px 5px 0 0; /* 上の角を丸く */
  }
  /* 2行目のデータ部分 */
  .time-slot {
    border-radius: 0 0 5px 5px; /* 下の角を丸く */
  }
}