@charset "utf-8";
/*
Theme Name: KMS
Theme URI: http://example.com/
Description: サンプルテーマ
Version: 1.0
Author: Yourname
Author URI: http://example.com/
*/

/* Reset.css入れるならここ */

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* 以下ブログテーマのスタイル */

html, body {
	font-family: "Helvetica Neue", YuGothic, '游ゴシック', "Hiragino Kaku Gothic ProN", "メイリオ", Arial, sans-serif;
}

h1 a,
h1 a:visited,
h1 a:active {
	text-decoration: none;
	color: #000;
}

h3 {
	font-weight: bold;
	padding: 20px 0;
}

a {
	color: #00799A;
	text-decoration: none;
}

a:visited,
a:active {
	color: #545A8E;
	text-decoration: none;
}

strong { font-weight:bold }

/* 基本構造レイアウト */

#container {
	margin: 0 auto;
	position: relative;
	width: 1000px;
}

#content {
}

#content.with-sidebar {
	float: left;
	width: 780px;
}

#sidebar {
	float: right;
	width: 220px;
	padding: 0 0 0 20px;
}

#header {
	padding: 40px 0;
}

#footer {
	clear: both;
	padding: 40px 10px 20px;
	background: #3c3c3c;
	color: #fff;
	min-height: 140px;
}
#footer>div {
	margin: 0 20px;
}

@media (max-width: 1000px) {
	#container {
		width: 800px;
	}
	#content.with-sidebar {
		width: 580px;
	}
}

@media (max-width: 800px) {
	#container, #content.with-sidebar, #sidebar {
		width: 100%;
		float: none;
	}
	#sidebar {
		padding: 40px 10px;
	}
	#sidebar .widget {
		width: 100%;
	}
	#sidebar #npcatch {
		display: flex;
		display: -webkit-flex;
		flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		justify-content: flex-start;
		-webkit-justify-content: flex-start;
		align-items: stretch;
		-webkit-align-items: stretch;
	}
	#sidebar #npcatch li {
		margin: 10px 20px;
	}
}

@media (max-width: 500px) {
	#comment {
		width: 300px;
	}
}

/* 汎用 */

.flex {
	display: flex;
	display: -webkit-flex;
	justify-content: space-around;
	-webkit-justify-content: space-around;
}

.flex>* {
	float: left;
}

.flex-wrap {
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
}

.flex-start {
	justify-content: flex-start;
	-webkit-justify-content: flex-start;
}

.flex img {
	flex: 0 0 auto;
	object-fit: scale-down;
}

.super {
	font-size: 0.7em;
	display:block;
	text-align: center;
	letter-spacing: 2px;
}

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

.border-box {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}

.button {
	display: inline-block;
	text-decoration: none;
	font-size: 13px;
	line-height: 26px;
	height: 28px;
	margin: 0;
	padding: 0 10px 1px;
	cursor: pointer;
	border-width: 1px;
	border-style: solid;
	-webkit-appearance: none;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	white-space: nowrap;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.button-primary {
	background: #0085ba;
	border-color: #0073aa #006799 #006799;
	color: #fff;
}

.block-center {
	margin: 0 auto;
	display: block;
}

.errors, .success {
	padding: 10px 20px;
	background: #DA6272;
	color: #fff;
	font-size: 0.9em;
}

.success {
	background: #81D674;
}

.error-message {
	line-height: 1.6em;
}

/* 個別スタイル */

.global-title {
	text-align: center;
	font-size: 2em;
	font-weight: bold;
}

.eyecatch img {
	width: 25%;
    height: 25%;
}

.widget {
	width: 220px;
	padding: 0 0 8px 0;
	margin-bottom: 20px;
	line-height: 1.4em;
}

.widget_title {
	margin: 0 0 10px;
	font-size: 12px;
}

.nav {
	padding: 40px 0 0;
}

.nav a,
.nav a:visited,
.nav a:active {
	display: inline-block;
	color: #3c3c3c;
	text-decoration: none;
	padding-bottom: 5px;
	border-bottom: 3px solid #2c2c2c;
	margin-bottom: 1em;
}
.nav .menu-item {
	margin-right: 1em;
}
.block {
	clear: both;
	border: 1px solid #e3e3e3;
	margin: 20px 0;
	padding: 1em 2em;
}
.block img {
	width: 320px !important;
	height: auto !important;
	max-width: 100% !important;
}
.block h1 { font-weight: bold }

.blog-teasers {
	margin: 0 0 40px 0
}

.preview {
	width: 320px;
	height: 300px;
	position: relative;
	overflow: hidden;
	border: 1px solid #c3c3c3;
	margin: 1em 1%;
}

.preview-date {
	display:inline-block;
	psdding: 2px 4px;
	background: rgba(0,0,0,0.8);
	color: #fff;
	position: absolute;
	top:0;
	left:0;
	font-size: 0.9em;
}


.preview-summary {
	position: absolute;
	top: 120px;
	bottom:0;
	padding: 6px 5px 0;
	background: #fff;
	font-size: 0.9em;
}

.preview-title {
	font-weight: bold;
	font-size: 1.1em;
	padding: 0 0 10px 0;
}

.preview-title a,
.preview-title a:visited,
.preview-title a:active {
	color: #3c3c3c;
	text-decoration: none;
}

.preview-text {
	line-height: 1.4em;
}

.post {
	border: 1px solid #eee;
	margin-bottom: 40px;
	padding: 0 1em;
}

.post-date {
	text-align: right;
}

.post-title {
	font-weight: bold;
	font-size: 1.6em;
	margin: 20px 0;
	text-align: left;
}

.post-content {
	padding: 0 9% 9%;
	font-family: "遊ゴシック", YuGothic, Mairyo, Arial, Sans-serif;
	line-height: 2em;
}


.mincho {
	font-family: "遊明朝", YuMincho, MS明朝, Serif;
}

.post-content p {
	margin: 2em 0;
}

.post-content ul {
	list-style-type: disc;
}

.post-content li {
	margin: 0.6em;
}

.post-footer {
	padding: 40px 60px;
	background: #f7f7f7;
	color: #707070;
	font-size: 0.8em;
	line-height: 1.2em;
}

.date-list {
	display: inline;
}

.date-list li {
	display: inline;
	padding: 0 0.5em;
}

.eyecatch-large {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.logo {
	font-size: 32px;
	font-weight: bold;
	font-style: italic;
	padding: 20px 0;
}

.copyright {
	font-size: 0.7em;
}

#npcatch li {
	position: relative;
	margin: 0 0 20px 0;
	width: 200px;
}
#npcatch li a,
#npcatch li a:visited,
#npcatch li a:active {
	color: #3c3c3c;
}
#npcatch li img {
	display: block;
	width: 200px !important;
	object-fit: cover;
}
#npcatch .title {
	font-size: 0.8em;
}
#npcatch .title .date {
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	color: #fff;
	font-size: 1em;
	padding: 2px 4px;
	border: 1px solid #fff;
}

/*pager*/
.pager{
	text-align:center;
	clear: both;
}
a.page-numbers,
.pager .current{
	background:rgba(0,0,0,0.02);
	border:solid 1px rgba(0,0,0,0.1);
	border-radius:5px;
	padding:5px 8px;
	margin:0 2px;
}
.pager .current{
	background:rgba(0,0,0,1);
	border:solid 1px rgba(0,0,0,1);
	color:rgba(255,255,255,1);
}

.booking-group {
	border: 1px solid #eee;
	margin: 20px 0 40px;
	padding: 10px 0 0;
}

.booking-group h2 {
	font-weight: bold;
	font-size: 1.2em;
	margin: 10px 20px;
}

.booking-time {
	padding: 10px;
	width: 86px;
}

.booking-time input[type="checkbox"] {

}

.booking-time label {
	line-height: 30px;
	font-size: 14px;
}

.booking-footer {
	margin-top: 20px;
	padding-top: 10px;
	background: #f7f7f7;
	overflow: hidden;
}
.booker {
	float:right;
	margin: 0 2% 0;
	width: 380px;
	position: relative;
	line-height: 2em;
	background: #f7f7f7;
	height: 10em;
}

.booker input {
	position: absolute;
	right: 0;
}

.booker input[type="submit"] {
}

.bookings {
	width: 100%;
	overflow: scroll;
	margin: 80px 0 0;
}

.booking-table {
	line-height: 1.6em;
	border: 1px solid #eee;
	margin-bottom: 40px;
}

.booking-table th {
	background: #eee;
	padding: 0 20px;
	border-bottom: 1px solid #c3c3c3;
}

.booking-table td {
	border: 1px solid #eee;
	padding: 0 20px;
}

.news-wrap {
	padding: 20px 0;
}

.news {
	padding: 10px 40px;
	line-height: 1.4em;
	border: 1px solid #c3c3c3;
	background: #f8f8f8;
	border-radius: 3px;
	margin-bottom: 22px;
}

h3.news-title {
	padding: 10px 0 4px;
}

.news-date, span.news-date {
	margin-right: 1em;
	color: #a1a1a1;
	font-weight: normal;
}

.nocomments {
	visibility: hidden;
}

.blog-menu {
	width: 70%;
	border-radius: 2px;
	border: 1px solid #3c3c3c;
	overflow: hidden;
	margin: 10px auto 40px;
	padding: 1em;
}
.blog-menu>div {
	float: left;
	width: 33%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	text-align: center;
}
.blog-menu>.border-right {
	border-right: 1px solid #3c3c3c;
}

.contact-form {
    padding: 1em;
    background: #6BBED5;
    border-radius: 3px;
}
.contact-form>div {
    padding: 1em;
    background: #CBE6F3;
    border-radius: 3px;
}
.contact-submit {
    margin: 10px 0 !important;
}
.pushbutton-wide {
    font-size: 1.6em;
    background: #D04255;
    color: #fff;
    border: none;
    border-radius: 4px;
    box-shadow: 3px 3px 2px rgba(0, 0, 0, 0.4);
}


.kms-members>.saboxplugin-wrap {width: 46%; margin: 20px 1%; }
.profile-tag>span {
	display: inline-block;
	padding: 2px 4px;
	box-shadow: 1px 1px 4px;
	border-radius: 2px;
	margin: 4px;
}
.kms-members .profile-tag {
	clear: both;
}

@media (max-width: 800px) {
	.widget {
		width: 220px;
		float: left;
		overflow: hidden;
	}
	.flex {
		flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
	}
	/*
	.flex-start {
		justify-content: space-around;
		-webkit-justify-content: space-around;
	}*/
	#respond {
		font-size: 0.8em;
	}
}

@media (max-width: 480px) {
	.preview {
		width: 90%;
		max-width: none;
	}
}





/*  responsive calendar  https://responsivedesign.is/patterns/calendar */

	.calendar-header {
		text-align: center;
		font-weight: bold;
		font-size: 1.4em;
		margin-bottom: 40px;
	}
	.calendar {
	    width: 100%;
	}

	.calendar a {
	    color: #8e352e;
	    text-decoration: none;
	}

	.calendar ul {
	    list-style: none;
	    padding: 0;
	    margin: 0;
	    width: 100%;
	}

	.calendar li {
	    display: block;
	    float: left;
	    width:14.342%;
	    padding: 5px;
	    box-sizing:border-box;
	    border: 1px solid #ccc;
	    margin-right: -1px;
	    margin-bottom: -1px;
	}

	.calendar ul.weekdays {
	    height: 40px;
	    background: #8e352e;
	}

	.calendar ul.weekdays li {
	    text-align: center;
	    text-transform: uppercase;
	    line-height: 20px;
	    border: none !important;
	    padding: 10px 6px;
	    color: #fff;
	    font-size: 13px;
	}

	.calendar .days li {
	    height: 180px;
		overflow: scroll;
	}

	.calendar .days li:hover {
	    background: #d3d3d3;
	}

	.calendar .date {
	    text-align: center;
	    margin-bottom: 5px;
	    padding: 4px;
	    background: #333;
	    color: #fff;
	    width: 20px;
	    border-radius: 50%;
	    float: right;
	}

	.calendar .event {
	    clear: both;
	    display: block;
	    font-size: 13px;
	    border-radius: 4px;
	    padding: 5px;
	    margin-top: 0;
	    margin-bottom: 5px;
	    line-height: 14px;
	    background: #e4f2f2;
	    border: 1px solid #b5dbdc;
	    color: #009aaf;
	    text-decoration: none;
	}

	.calendar .event-desc {
	    color: #666;
	    margin: 3px 0 7px 0;
	    text-decoration: none;
	}

	.calendar .other-month {
	    background: #f5f5f5;
	    color: #666;
	}

	/* ============================
	      Mobile Responsiveness
	   ============================*/


	@media(max-width: 600px) {

	    .calendar .weekdays, .calendar .other-month {
	        display: none;
	    }

	    .calendar li {
	        height: auto !important;
	        border: 1px solid #ededed;
	        width: 100%;
	        padding: 10px;
	        margin-bottom: -1px;
	    }

	    .calendar .date {
	        float: none;
	    }
	}


	/* ====== checkbox and radio ===== */

	input[type=radio],
	input[type=checkbox] {
	    display: inline-block;
	    margin-right: 6px;
	}
	input[type=radio] + label,
	input[type=checkbox] + label {
	    position: relative;

	    display: inline-block;
	    /*margin-right: 12px;*/

	    font-size: 14px;
	    line-height: 30px;
		min-width: 3em;

	    cursor: pointer;
	}

	@media (min-width: 1px) {
	    .booking-time input[type=radio],
	    .booking-time input[type=checkbox] {
	        display: none;
	        margin: 0;
	    }
	    input[type=radio] + label,
	    input[type=checkbox] + label {
	        padding: 0 0 0 24px;
	    }
	    input[type=radio] + label::before,
	    input[type=checkbox] + label::before {
	        content: "";
	        position: absolute;
	        top: 50%;
	        left: 0;

	        -moz-box-sizing: border-box;
	        box-sizing: border-box;
	        display: block;
	        width: 18px;
	        height: 18px;
	        margin-top: -9px;

	        background: #FFF;
	    }
	    input[type=radio] + label::before {
	        border: 2px solid #ccc;
	        border-radius: 30px;
	    }
	    input[type=checkbox] + label::before {
	        border: 2px solid #ccc;
	    }
	    input[type=radio]:checked + label::after,
	    input[type=checkbox]:checked + label::after {
	        content: "";
	        position: absolute;
	        top: 50%;

	        -moz-box-sizing: border-box;
	        box-sizing: border-box;
	        display: block;
	    }
	    input[type=radio]:checked + label::after {
	        left: 5px;

	        width: 8px;
	        height: 8px;
	        margin-top: -4px;

	        background: #E71063;
	        border-radius: 8px;
	    }
	    input[type=checkbox]:checked + label::after {
	        left: 3px;

	        width: 16px;
	        height: 8px;
	        margin-top: -8px;

	        border-left: 3px solid #E71063;
	        border-bottom: 3px solid #E71063;

	        -webkit-transform: rotate(-45deg);
	        -ms-transform: rotate(-45deg);
	        transform: rotate(-45deg);
	    }
	}