@charset "utf-8";
@media only screen and (max-width: 520px) {

	/*-----------------------------------------------------
		base
	------------------------------------------------------*/

	/*-----------------------------------------------------
		layout
	------------------------------------------------------*/

	/* header */

	header {
		font-size: 1.3em;
	}
	header .inner {
		display: block;
		width: auto;
		text-align: left;
	}
	header .inner .logo {
		margin: 0 0 0 2.6rem;
	}
	header .inner .logo img {
		max-width: 240px;
	}
	header .inner ul {
		display: none;
	}

	/* aside */

	aside {
		margin: 0 2.6rem;
	}

	/* footer */

	footer {
		font-size: 1.3em;
	}
	footer .top .inner {
		width: auto;
	}
	footer .top .inner .menu li {
		font-size: 1rem;
	}
	footer > .menu li {
		font-size: 1rem;
	}
	footer > small {
		font-size: 1rem;
		padding: 2.6rem;
	}

	/*-----------------------------------------------------
		module
	------------------------------------------------------*/

	/* bread */

	article > #bread li {
		font-size: 1rem;
	}

	/* hgroup */

	article > #hgroup {
		font-size: 1.3em;
	}
	article > #hgroup h1 {
		font-size: 1.6rem;
	}
	article > #hgroup time {
		font-size: 1rem;
	}
	article > #hgroup ul li {
		font-size: 1rem;
	}

	/* pagelink */

	article > #pagelink {
		font-size: 1.3em;
	}

	/* postlink */

	article > #postlink {
		font-size: 1.3em;
	}

	/*-----------------------------------------------------
		archives
	------------------------------------------------------*/

	article > .archives {
		font-size: 1.3em;
	}

	/* post */

	article > .archives .post figure img {
		width: 75px;
		height: 75px;
	}
	article > .archives .post ul {
		font-size: 1rem;
	}
	article > .archives .post h2 {
		font-size: 1.6rem;
	}
	article > .archives .post time {
		font-size: 1rem;
	}

	/* pagination */

	article > .navigation.pagination {
		font-size: 1.3em;
	}

	/*-----------------------------------------------------
		default
	------------------------------------------------------*/

	/* drawer */

	.drawer-hamburger {
		width: 1.8em;
		padding: 0.75em 1em 2.5em 1em;
	}
	.drawer-hamburger:after {
		font-size: 0.8rem;
	}
	.drawer-hamburger-icon, .drawer-hamburger-icon:after, .drawer-hamburger-icon:before {
		height: 2px;
	}
	.drawer-hamburger-icon:after {
		top: 8px;
	}
	.drawer-hamburger-icon:before {
		top: -8px;
	}
	.drawer-nav {
		width: calc(100% - 4em);
		font-size: 1.3em;
	}
	.drawer--right .drawer-nav {
		right: -100%;
	}

	/* buttons */

	.wp-block-buttons.is-layout-flex {
		display: block;
	}
	.wp-block-buttons > .wp-block-button {
		margin: 0 0 0.5em 0;
		display: block;
	}
	.wp-block-buttons > .wp-block-button a.wp-block-button__link {
		min-width: 0;
		padding: 0.5em 1em;
		width: calc(100% - 2em);
		box-sizing: content-box;
	}

	/*-----------------------------------------------------
		entry
	------------------------------------------------------*/

	.entry {
		font-size: 1.3em;
	}
	.entry h1 {
		font-size: 1.6rem;
	}
	.entry h2, .entry h3, .entry h4 {
		font-size: 1.4rem;
	}

	/*-----------------------------------------------------
		class
	------------------------------------------------------*/

	/*-----------------------------------------------------
		custom
	------------------------------------------------------*/

	/* guide_a */

	.entry .guide_a.is-layout-flex {
		display: block;
	}
	.entry .guide_a.is-layout-flex h3 {
		display: block;
		margin-right: 0;
		min-width: 0;
	}
	.entry .guide_a.is-layout-flex p {
		display: block;
		margin-bottom: 1em;
	}

	/* registration_b */

	.entry figure.registration_b table {
		display: block;
		border: 1px solid #967f71;
	}
	.entry figure.registration_b tbody, .entry figure.registration_b tr {
		display: block;
	}
	.entry figure.registration_b table td, .entry figure.registration_b table th {
		display: block;
		border: none;
	}

	/* registration_a */

	.entry figure.registration_a {
		overflow-x: scroll;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
	.entry figure.registration_a:before {
		content: '＊この表は横にスクロールします。';
		margin-bottom: 0.5em;
		display: block;
	}
	.entry figure.registration_a::-webkit-scrollbar {
		display:none;
	}
	.entry figure.registration_a table th, .entry figure.registration_a table td {
		min-width: 16em;
	}

	/* release */

	.wp-block-image.release .alignleft, .wp-block-image.release .alignright {
		float: none;
		margin-right: 0;
		margin-left: 0;
	}
	.release.alignleft, .release.alignright {
		float: none;
		margin-right: 0;
		margin-left: 0;
	}

	/* home_a */

	.entry .home_a {
		padding: 1.5em;
	}
	.entry .home_a .wp-block-column {
		padding: 1em 0;
	}
	.entry .home_a .wp-block-column:not(:last-child) {
		border-right: none;
		border-bottom: 1px solid #d6cdc7;
	}

	/*-----------------------------------------------------
		section
	------------------------------------------------------*/

	/* recent */

	#recent.entry .post {
		display: block;
		width: auto;
		padding: 1em 0;
	}
	#recent.entry .post time, #recent.entry .post h3 {
		display: block;
		padding-top: 0;
		padding-bottom: 0;
	}
	#recent.entry p a {
		display: block;
		min-width: 0;
	}

	/*-----------------------------------------------------
		widget
	------------------------------------------------------*/

	aside .entry .widget {
		width: auto;
		float: none;
		margin: 0 0 2em 0;
	}


}