/*!
Theme Name: miyako
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.3
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: miyako
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.

miyako is based on Underscores https://underscores.me/, (C) 2012-2020 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/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | 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;
	-webkit-text-size-adjust: 100%;
}

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

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * 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;
	height: 0;
	overflow: visible;
}

/**
 * 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;
	font-size: 1em;
}

/* 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;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * 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;
	font-size: 1em;
}

/**
 * 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;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	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;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

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

/**
 * 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;
	outline-offset: -2px;
}

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

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

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {/*調整*/
	color: #333333;
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",arial,sans-serif;
	font-size: 18px;
	line-height: 1.6;
}

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

p {
	margin-bottom: 1em;
}

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

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

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

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
	overflow-x: hidden;
}

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

hr.fullwidth {
	width: 100vw;
    position: relative;
	overflow:hidden;
	clear:both;
	margin: 30px calc(50% - 50vw) 40px;

}

ul,
ol {/*調整*/
	margin: 0 0 2em 0;
	padding-left: 10px;
}

ul {/*調整*/
	list-style: none;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

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

/* 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);
	line-height: 1;
	padding: 0.6em 1em 0.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;
}

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%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

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

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

.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;
}

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

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

.page-template-page-fullwidth .entry-content {
	margin-top:0 !important;
}

.page-template-page-fullwidth .entry-content p:first-of-type {
	margin-top: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;
}

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

.backtotop {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 9000;
    display: none;
}    

.backtotop a {
	background:url(images/totop.png) center center no-repeat;
    display: block;
	height:40px;
	width:40px;
    color: #777777;
    margin: 0;
    background-color: #00a1df;
	-webkit-border-radius:40px;
	   -moz-border-radius:40px;
	border-radius: 40px;
}

.backtotop a:hover {
    background-color: #004462;
	transition: all 1s ease 0s;
}

#colophon {
	width: 100vw;
    position: relative;
	overflow:hidden;
	margin: 0 calc(50% - 50vw);
	background: #fffffa none repeat scroll 0 0;
	border-top: 1px solid #ddd;
	clear: both;
	font-size: 16px;
	padding-top:30px;
}

.footer-w-area:after {
    clear: both;
}

/* Two Footer Widget Areas */
.footer-w-area .two .widget-area-footer {
    text-align:left;
    float: left;
    margin-right: 2%;
    width: 48%;
}
 
/* Three Footer Widget Areas */
.footer-w-area .three .widget-area-footer {
    text-align:left;
    float: left;
    margin-right: 2.5%;
    width: 31.66%;
}
 
/* Four Footer Widget Areas */
.footer-w-area .four .widget-area-footer {
    text-align:left;
    float: left;
    margin-right: 3%;
    width: 22.5%;
}

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

.footer-w-area .four .widget-area-footer {
	width:98%;
	float:none;
	margin:0 auto;
}

}

.footer-w-area .two .widget-area-footer + .widget-area-footer,
.footer-w-area .three .widget-area-footer + .widget-area-footer + .widget-area-footer,
.footer-w-area .four .widget-area-footer + .widget-area-footer + .widget-area-footer + .widget-area-footer {
    margin-right: 0;
}

.widget-area-footer h3.widget-title{
	background: url("images/h3-bg.png") left 4px no-repeat;
	padding-left: 30px;
	padding-bottom: 5px;
	clear:both;
	font-size:20px;
	font-weight:normal;
	margin-bottom:10px;
}

.widget-area-footer .textwidget {
	background:none;
}

*:first-child+html #footer li{display:inline;}

}

.site-description, .site-footer .site-info {
	width: 100vw;
    position: relative;
	font-size:12px;
	padding:5px 0;
	color:#fff;
	overflow:hidden;
	clear:both;
	margin: 0 calc(50% - 50vw);
	background-color:#01a1dd;
}

.site-info .container {
	margin: 0 auto;
	padding: 5px 0;
}

.site-info span {
	float:left;
}

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

/* original settings
--------------------------------------------- */

.socialarea ul{
	height: 70px;
	list-style-type: none !important;
	padding: 10px 0 2px 10px !important;
	min-height:80px;
	margin: 10px 0 30px;
}

.socialarea ul li {
	float: left;
}

.socialarea ul li.tw {
	margin-right: 15px;
}

.socialarea ul li.fb {
	margin-right: 15px;
}

.socialarea ul li.hatena {
	margin-left:16px;
}

.kanren {
	display:block;
	clear: both;
}

.mentori {
	-webkit-border-radius:4px;
	   -moz-border-radius:4px;
	border-radius: 4px;
}

ul.wpp-list li span.post-stats span.wpp-views,span.post-date {
	display:inline-block;
}

.widget_recent_entries li a {
	display:inline-block !important;
}

/*--------------------------------------------------------------
# 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-weight: 700;
	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;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-main:before,
.site-main: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-maint:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
## Structure
--------------------------------------------------------------*/

.site-description p {
	margin:5px 0;
}

.site-description {
	background: #01a1dd;;
	color: #fff;
	font-size: 14px;
	overflow: hidden;
}

img.logo {
	display:block;
	margin:0 auto;
}


.site, .container {
	max-width:1200px;
	margin: 0 auto;
}

.full-section {
	width: 100vw;
	position: relative;
	clear: both;
	margin: 0 calc(50% - 50vw) 80px;
	padding: 30px 0px;
}

.full-section-bg{
	width: 100vw;
	position: relative;
	clear: both;
	margin: 0 calc(50% - 50vw) 50px;
	padding: 30px 0px;
	overflow: hidden;
}

.full-section::after {
	position: absolute;
	content: '';
	bottom: -78px;
	left: 50%;
	border: 40px solid transparent;
	width: 0;
	height: 0;
	margin-left:-30px;
}

.full-section.bg-midori::after {
	border-top: 40px solid #a0ce4e;	
}

.full-section.bg-ao::after {
	border-top: 40px solid #1ba1e2;	
}

.full-section.bg-orange::after {
	border-top: 40px solid #efa939;	
}

.full-section.bg-pink::after {
	border-top: 40px solid #e671b8;	
}

.section-inner {
	max-width:1200px;
	margin:0 auto;
}

/* ショートコード・リスト・テーブル
*****************************************************/

.arrow li, .greencheck li, .bluecheck li, .cross li, .pin li, .plus li, .heart li, .stargold li, .starsilver li {
	padding-left:25px;
	margin-bottom: 5px;
	list-style-type: none;
}

.arrow li {
	background: url(images/shortcodes/arrowright.png) left 4px no-repeat;
}

.greencheck li {
	background: url(images/shortcodes/check.png) left 8px no-repeat;
}

.bluecheck li {
	background: url(images/shortcodes/check_blue.png) left 4px no-repeat;
}

.cross li {
	background: url(images/shortcodes/cross.png) left 4px no-repeat;
}

.pin li {
	background: url(images/shortcodes/pin.png) left 4px no-repeat;
}

.plus li {
	background: url(images/shortcodes/plus.png) left 6px no-repeat;
}

.heart li {
	background: url(images/shortcodes/heart.png) left 4px no-repeat;
}

.stargold li {
	background: url(images/shortcodes/stargold.png) left 4px no-repeat;
}

.starsilver li {
	background: url(images/shortcodes/starsilver.png) left 4px no-repeat;
}

ul.stargold.gyomu-syokai li {
	margin-bottom:15px;
}

/* table */

table.kahen{
	width:100%;
	border-spacing:0;
	padding:0;
	margin:0;
}

table.kahen ,table.kahen td,table.kahen th {
    border-collapse: collapse;
    border:1px solid #ccc;
    }

table.kahen th {
	background: #1ba1e2;
	color: white;
}

table.kahen tr td {
	padding:10px;
}

table.kahen th {
	padding:10px;
	text-align:center;
}

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

	table.kahen{
		border:0;
	}

	table.kahen thead{
		display:none;
	}

	table.kahen tr{
		margin-bottom:10px;
		display:block;
	}

	table.kahen td{
		display:block;
		font-size:13px;
		border-bottom: none;
	}

	table.kahen td:last-child{
		border-bottom: 1px solid #ddd;
	}

	table.kahen td:before {
		content:attr(data-label);
		float:left;
		font-weight: bold;
		padding-right: 15px;
	}
}

table.mdtable {
  width: 100%;
  border-spacing: 0;
  font-size:14px;
  *border-collapse: collapse;
  *border-right: 1px solid #0082C3;
  margin-bottom: 20px;
  border-top:1px solid;
  border-left:1px solid;
  border-right:1px solid;
}

table.mdtable,table.mdtable td, table.mdtable th {
  border-color: #0082C3 !important;
}

table.mdtable th {
  color: #0082C3;
  padding: 8px 15px;
  background: #daf0fb;
  font-size:120%;
  font-weight:normal;
  border-bottom:1px solid #0082C3;
  line-height: 120%;
  text-align: center;
}

table.mdtable tr td {
  padding: 8px 15px;
  border-bottom: 1px solid #0082C3;
  border-left: 1px solid #0082C3;
}

table.mdtable tr td:first-child{
	border-left:none !important;
}

table.mdtable tr {
  background: #fff;
}

table.mdtable tbody tr td .block {
	margin-bottom:15px;
}

table.mdtable tbody tr td .block .heading {
	border-left: 5px solid #0082C3;
	padding-left:10px;
	font-size:110%;
	margin-bottom:5px;
}
table.mdtable tbody tr td .block p {
	padding-left:25px;
}

/* dl */

dl {
	border: none;
	margin: 0;
	padding: 0;
}

dl.office dt {
  clear: both;
  color: #1BA1E2;
  float: left;
  font-weight: normal;
  line-height: 140%;
  margin: 0 0 15px;
  padding: 2px 10px 4px 0;
  text-align: right;
}

dl.office dd {
  border-left: 2px solid #1BA1E2;
  border-bottom: 0;
  float:none;
  line-height: 140%;
  margin-bottom: 15px;
  margin-left: 25%;
  padding: 2px 0 4px 10px;
}

/* 縦位置 */

.mt0 {margin-top:0 !important;}
.mt5 {margin-top:5px !important;}
.mt10 {margin-top:10px !important;}
.mt15 {margin-top:15px !important;}
.mt20 {margin-top:20px !important;}
.mt25 {margin-top:25px !important;}
.mt30 {margin-top:30px !important;}
.mt40 {margin-top:40px !important;}

.mb0 {margin-bottom:0 !important;}
.mb5 {margin-bottom:5px !important;}
.mb10 {margin-bottom:10px !important;}
.mb15 {margin-bottom:15px !important;}
.mb20 {margin-bottom:20px !important;}
.mb25 {margin-bottom:25px !important;}
.mb30 {margin-bottom:30px !important;}
.mb40 {margin-bottom:40px !important;}

.pt0 {padding-top:0 !important;}
.pt5 {padding-top:5px !important;}
.pt10 {padding-top:10px !important;}
.pt15 {padding-top:15px !important;}
.pt20 {padding-top:20px !important;}
.pt25 {padding-top:25px !important;}
.pt30 {padding-top:30px !important;}
.pt40 {padding-top:40px !important;}

.pb0 {padding-bottom:0 !important;}
.pb5 {padding-bottom:5px !important;}
.pb10 {padding-bottom:10px !important;}
.pb15 {padding-bottom:15px !important;}
.pb20 {padding-bottom:20px !important;}
.pb25 {padding-bottom:25px !important;}
.pb30 {padding-bottom:30px !important;}
.pb40 {padding-bottom:40px !important;}
.pb80 {padding-bottom:80px !important;}

.pin10 {padding:10px !important;}

.one_half {width:49%;}
.one_third {width:32%;}
.one_third_top{width:33%;}
.two_third {width:66%;}
.one_fourth {width:23.5%;}
.three_fourth {width:74.5%;}
.one_half, .one_third, .two_third, .one_fourth, .three_fourth {
  float: left;
  margin-right: 2%;
  position: relative;
}

.last {
  clear: right;
  margin-right: 0 !important;
}

.nakayose {text-align:center !important;}
.migiyose {text-align:right !important;}
.hidariyose {text-align:left !important;}

.migi {float:right;}
.hidari {float:left;}
.naka {display:block;margin:0 auto;}

.large {font-size:125% !important;}
.xlarge {font-size:150% !important;}
.small {font-size: 80% !important;}
.xsmall {font-size:60% !important;}

/*　effect
------------------------------------------------------------*/

.waku { border:1px solid #eee;}

img.photo-frame {
	border: 10px solid #eee;
	box-shadow: 1px 2px 3px 1px #7E7E7E, 3px 5px 7px 3px #DDDDDD;
	-webkit-box-shadow: 1px 2px 3px 1px #7E7E7E, 3px 5px 7px 3px #DDDDDD;
	-moz-box-shadow: 1px 2px 3px 1px #7E7E7E, 3px 5px 7px 3px #DDDDDD;
}

.kage {
	box-shadow:rgba(113, 135, 164, 0.65) 1px 2px 4px 1px;
	-webkit-box-shadow:rgba(113, 135, 164, 0.65) 1px 2px 4px 1px;
	-moz-box-shadow:rgba(113, 135, 164, 0.65) 1px 2px 4px 1px;
}

img.kage {
	box-shadow: 1px 2px 5px 1px #7E7E7E, 3px 8px 10px 3px #CCC !important;
	-webkit-box-shadow: 1px 2px 5px 1px #7E7E7E, 3px 8px 10px 3px #CCC !important;
	-moz-box-shadow: 1px 2px 5px 1px #7E7E7E, 3px 8px 10px 3px #CCC !important;
	padding-bottom:0 !improtant;
}

.banner {
	border: 1px solid #ddd;
}

.mojikage {
	text-shadow: 1px 1px rgba(0,0,0,.4);
}

img.frame {
	border: 1px solid #DDDDDD;
}

/*　button settings
------------------------------------------------------------*/
a.btn:hover {color:#fff;}

.btn {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  text-decoration: none;
  color: #FFF;
  transition: .4s;
  border-radius:4px;
}

.btn:hover {
  background: #1ec7bb;
}

.btn:visited {color:#fff;}

.btn.bg-ao:hover{background:#1c92ce;}
.btn.bg-orange:hover{background:#e95d23;}
.btn.bg-midori{background:#90b946;}
.btn.bg-midori:hover{background:#6d7726;}
.btn.bg-koimidori:hover{background:206020;}
.btn.bg-aka:hover{background:#b30000;}

/* color settings
------------------------------------------------------------*/

.bg-orange {background-color:#efa939;}
.bg-light-gray {background-color:#eee;}
.bg-midori{background-color:#a0ce4e;}
.bg-koimidori{background-color:#339933;}
.bg-ao {background-color:#1ba1e2;}
.bg-pink{background-color:#e671b8;}
.bg-kon {background-color:#083144;}
.bg-aka {background-color:#ff0000;}
.bg-mizuiro {background-color:#e1f2fa;}

.orange {color:#F09609;}
.aka {color:red;}
.ao {color:#50b4e7;}
.midori {color:#339933;}
.kimidori {color: #a2b139;}
.gold {color:#a68404;}
.siro { color:#fff;}
.kuro {color:#000;}

.waku-midori {border:1px dotted #a0ce4e;}
.waku-orange {border:1px dotted #efa939;}
.waku-ao {border:1px dotted #1ba1e2;}
.waku-aka {border:1px dotted #ff0000;}

/* border-radius settings
------------------------------------------------------------*/

.br4 {
	-webkit-border-radius:4px;
	   -moz-border-radius:4px;
	border-radius: 4px;
}

.br8 {
	-webkit-border-radius:8px;
	   -moz-border-radius:8px;
	border-radius: 4px;
}

.maru {
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  font-size: 26px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  width: 30px;
  margin-right:10px;
}


h2.kazarisen{
position: relative;
display: inline-block;
padding: 0 55px;
vertical-align:middle;
font-size:36px;
font-weight:lighter;
padding-top:5px;
}

h2.kazarisen:before, h2.kazarisen:after{
content: '';
position: absolute;
top: 50%;
display: inline-block;
width: 45px;
height: 5px;
border-top: solid 1px black;
border-bottom: solid 1px black;
}

h2.kazarisen:before {left:0;}
h2.kazarisen:after {right: 0;}

/* responsive settings
------------------------------------------------------------*/

@media screen and (min-width:1214px) {

}

@media screen and (min-width:961px) { /* 961px以上をデスクトップと定義 */
	
body.post-template-default #primary, body.page-template-default #primary, body.archive #primary, body.category #primary, .hidarigawa {
	width:66%;
	float:left;
}

#secondary, .migigawa {
	margin:1.5em 0 0;
	width:28%;
	float:right;
}

.entry-title{
	max-width:1200px;
	margin:0 auto;
}	
	
}

@media screen and (max-width:960px) {/* 960px以下はコンテナを調整して全体表示 */

	.site,.container, .section-inner {
		width:90%;
		margin:0 auto;
	}
	
	.nav-wrap {
		width:100% !important;
	}

}

@media screen and (min-width:601px) { 

	body.home h2, body.home h3 {
		margin-top:0;
		line-height:1;
    }
	
	.md-cta .btn {
	position: absolute;
	right: 20px;
	top: 200%;
	}
	
	.width600 {
		width:600px;
		margin:0 auto;
	}
	
}

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

	.one_half, .one_third, .two_third, .one_fourth, .three_fourth {
		width:100%;
		float: none;
		margin-right: 0;
		margin-bottom:20px !important;
		position: relative;
	}

	img.aligncenter, img.alignleft, img.alignright, img.alignnone, .aligncenter, .alignleft, .alignright {
		display:block;
		margin:0 auto;
		max-width:100%;
		height:auto;
		clear:both;
		float:none;
	}

}

@media screen and ( min-width:481px) {

	.mobile-only, .mobile-only.tellink {
		display:none !important;
	}
	.width480 {
		max-width:480px;
		margin:0 auto;
	}
}

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

	.pc-only {
		display:none !important;
	}
	
.mobile-only.tellink {
  bottom: 10px;
  display: block;
  left: 10px;
  position: fixed;
  z-index: 9000;
}

.mobile-only.tellink a {
  background: rgba(0, 0, 0, 0) url("images/tellink.png") no-repeat scroll center center;
  display: block;
  height: 36px;
  margin: 0;
  position: relative;
  width: 36px;
}

	body.single-post .mobile-only.tellink {
		display:none;
	}	
	
}

.widget_archive ul li:before {
	content:">";
	color:#50b4e7;
	padding-right:5px;
}

.widget-area ul li {
	font-size:16px;
}

.widget-area ul li {
	margin-top: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
	background: url(images/shortcodes/check.png) left 5px no-repeat;
}

.widget-area ul li a {
	text-decoration:none;
}

.widget-area ul li a:hover {
	text-decoration:underline;
}

/* footer styling */

#footer .widget-title {
	background: url("images/h3-bg.png") no-repeat !important;
	padding-left: 30px;
}

.footermenu {
	float: right;
	margin-bottom:0;
}

#colophon li:first-child {
	border: 0;
}

ul.footermenu li {
	float: right;
	list-style-type: none;
}

ul.footermenu li a {
	color: #FFF;
	text-decoration:none;
}

ul.footermenu li::after {
	content: "/";
	padding: 0 5px;
}

/*承継*/

body.post-template-default h3, #secondary .widget-title, h3.accent {
	background: url("images/h3-bg.png") left 5px no-repeat;
	font-size: 20px;
	padding-left: 30px;
	margin: 20px 0 10px;
	border-bottom: 1px dashed #1ba1e2;
	font-weight: normal;
}

body.post-template-default #primary h2, h2.accent {
	background: url("images/h2-bg.png") left center no-repeat;
	font-size: 26px;
	padding-top: 4px;
	padding-left: 40px;
	font-weight: normal;
	border-bottom:1px dotted #13709e;
}

span.catchy {
	display: inline-block;
	font-size: 120%;
	color: #1ba1e2;
}

h2.md-box-point {
	border-radius: 8px 8px 0 0;
	-webkit-border-radius: 8px 8px 0 0;
	-moz-border-radius: 8px 8px 0 0;	
	color: #fff !important;
	background:#8ec035;
	padding:10px 0 8px 10px !important;
	border:none;
	margin-bottom:0 !important;
}

p.point, ul.point {
	background-color: #fdfeff;
	border:1px dashed #136f9c;
	padding: 20px;
}

/* 見出し調整 */

header.entry-header h1.entry-title, header.page-header h1.page-title {
	padding:20px;
	font-weight:normal;
}

header.entry-header, header.page-header {
	width:100vw;
	position:relative;
	overflow:hidden;
	margin: 0 calc(50% - 50vw);
	background:url(images/crossword.png) repeat;
}

p.site-title, h1.site-title {
	margin: 20px 0;
}

h3.social {
	background-color:#1ba1e2;
	background-image:none;
	padding:5px;
	border-radius:6px;
	color:#fff !important;
}

/* navigation */

.nav-previous a, .nav-next a {
	font-size:12px;
	display:inline-block;
	background:#01a1dd;
	border-radius:4px;
	padding:5px;
	text-decoration:none;
	color:#fff;
	margin-bottom:20px;
}

.nav-previous a:before {
	content:"\0ab"
}

.nav-next a:after {
	content:"\0bb"
}

/*　未処理分 */

iframe {opacity:1 !important;visibility:visible !important;}

.tel-section {
	float:right;
}

blockquote {
	font-size:16px !important;
	font-style:italic;
	border-left:5px solid #13709e;
	padding:15px;
	background-color:#fafafa;
}

body.home .post-content h2, body.home .post-content h3,body.page-id-3689 .post-content h2,body.page-id-3689 .post-content h3, body.page-template-100-width h2.content-box-heading, body.page-template-100-width h2.content-box-heading h3, body.page-template-100-width .fusion-row h2,body.page-template-100-width .fusion-row h3{
	background:none;
	padding-left:0;
	padding:0;
	border-bottom: none;
}

.page-template-default .post-content h4, .single #content h4{
	border-bottom: 1px solid #78a32d !important;
	color: #b49e2a !important;
	padding-bottom: 5px !important;
}

/* homepage customization */

body.home .entry-content {
	margin-top:0;
}

section.gyomusyokai .one_third {
	margin-bottom:30px;
}

/* navigation */

.main-navigation {
	width: 100vw;
	position: relative;
	clear: both;
	margin: 0 calc(50% - 50vw) ;
	padding: 0px;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.mega-menu-wrap {
	max-width:1200px !important;
	margin: 0 auto !important;
}

hr.shadow {
	background: radial-gradient(ellipse at 50% -50% , #dddddd 0px, rgba(255, 255, 255, 0) 80%) repeat scroll 0 0 rgba(0, 0, 0, 0);
	background: -webkit-radial-gradient(ellipse at 50% -50% , #dddddd 0px, rgba(255, 255, 255, 0) 80%) repeat scroll 0 0 rgba(0, 0, 0, 0);
	background: -moz-radial-gradient(ellipse at 50% -50% , #dddddd 0px, rgba(255, 255, 255, 0) 80%) repeat scroll 0 0 rgba(0, 0, 0, 0);
	background: -o-radial-gradient(ellipse at 50% -50% , #dddddd 0px, rgba(255, 255, 255, 0) 80%) repeat scroll 0 0 rgba(0, 0, 0, 0);
	height: 1px;
	overflow: visible;
	border: none;
	flex-grow: 2;
}

hr.shadow:after {
	display: block;
	height: 6px;
	width: 100%;
	content: "";
	background: radial-gradient(ellipse at 50% -50%,rgba(0,0,0,.5) 0,rgba(255,255,255,0) 65%);
}

.md-cta {
	border-top: 5px solid #a0ce4e;
	border-left:1px solid #ddd;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	padding:10px;
	background-color:#fafafa;
	position:relative;
	display:table;
	width:100%;
	margin:30px 0;
}

.md-cta h2, .md-cta h3 {
	background:none !important;
	border-bottom:none !important;
	padding-left:0 !important;
	}

/* Shared for all accordion types */
.accordion ul {
    list-style:none;
    margin:0;
    padding:0;    
}
.accordion li {
    margin:0;
    padding:0;
}
.accordion [type=radio], .accordion [type=checkbox] {
    display:none;
}
.accordion label {
    display:block;
    font-size:16px;
    line-height:16px;
    background:#fafafa;
    border:1px solid #542437;
    color:#542437;
    text-shadow:1px 1px 1px rgba(255,255,255,0.3);
    font-weight:700;
    cursor:pointer;
    text-transform:uppercase;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
}
.accordion ul li label:hover, .accordion [type=radio]:checked ~ label, .accordion [type=checkbox]:checked ~ label {
    background:#C02942;
    color:#FFF;
    text-shadow:1px 1px 1px rgba(0,0,0,0.5)
}
.accordion .content {
    padding:0 10px;
    overflow:hidden;
    border:1px solid #fff; /* Make the border match the background so it fades in nicely */
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
}

/* Vertical */
.vertical ul li {
    overflow:hidden;
    margin:0 0 1px;
}
.vertical ul li label {
    padding:10px;
}
.vertical [type=radio]:checked ~ label, .vertical [type=checkbox]:checked ~ label {
    border-bottom:0;
}
.vertical ul li label:hover {
    border:1px solid #542437; /* We don't want the border to disappear on hover */
}
.vertical ul li .content {
    height:0px;
    border-top:0;
}
.vertical [type=radio]:checked ~ label ~ .content, .vertical [type=checkbox]:checked ~ label ~ .content {
    height:auto;
    border:1px solid #542437;
}

.full-section.minpaku {
	background-color: rgba(255,255,255,0);
	background-image: url("https://www.miyako-office.net/wp-content/uploads/2016/03/minpakubg.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	margin-bottom: 0px;
	margin-top: 0px;
	border-width: 0px 0px 0px 0px;
	border-color: #eae9e9;
	border-style: solid;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-attachment: fixed;
	padding-bottom:0px;
}

.full-section.iryo {
	background-color: rgba(255,255,255,0);
	background-image: url("https://www.miyako-office.net/wp-content/uploads/2016/03/medicalbg.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	padding:20px 0 0;
	margin-bottom: 0px;
	margin-top: 0px;
	border-width: 0px 0px 0px 0px;
	border-color: #eae9e9;
	border-style: solid;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.full-section.koshin {
	background-color: rgba(255,255,255,0);
	background-image: url("https://www.miyako-office.net/wp-content/uploads/2021/01/koushin-bg.png");
	background-position: center center;
	background-repeat: no-repeat;
	padding:20px 0 0;
	margin-bottom: 0px;
	margin-top: 0px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.entry-meta, .single-post .entry-footer {
	margin:15px 0;
	padding:5px 0;
	border-top:1px solid #eee;
	border-bottom:1px solid #eee;
	color:#ddd;
	font-size:12px;
}

.entry-meta a, .entry-footer a, .tagcloud a {
	text-decoration:none;
}

.cat-links, .tags_links, .posted-on {
	margin-right:20px;
}

ul#mega-menu-menu-1 {
	border-left:1px solid #ddd !important;
	border-right:1px solid #ddd !important;
}

.breadcrumb {
	margin:15px 0;
	font-size:12px;
}

.breadcrumb a {
	text-decoration:none;
	color:#aaa;
}

.breadcrumb .current {
	font-weight:normal !important;
	color:#aaa;
}

.category-page-header {
	background: #1ba1e2;
	color: #fff;
	padding: 10px 0 10px 20px;
	margin: 27px 0 30px;
}

.category-page-header h1 {
	margin:0;
}

h2.entry-title {
	font-size:1em;
}

.category-entry-header h2 a:before {
	content:"☆";
}

.width20per {
	width:20%;
}

.width60per {
	width:60%;
}

/* 20220621*/

h3.qicon {
	background: url(images/shortcodes/qicon.png) left no-repeat;
	padding-left:40px;
	padding-top:5px;
}

h3.aicon {
	background: url(images/shortcodes/aicon.png) left no-repeat;
	padding-left:40px;
	padding-top:5px;
}