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

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

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

	/* header */

	header {
		font-size: 1.3em;
	}
	header .inner .logo img {
		width: 140px;
	}

	/* main */

	main > .logo img {
		max-width: 140px;
		padding: 1.3rem 1.95rem;
	}

	/* footer */

	footer {
		font-size: 1.3em;
		padding-bottom: 8em;
	}
	footer .top .logo img {
		width: 140px;
	}
	footer .top .left p {
		font-size: 1rem;
	}
	footer .top .left p a {
		font-size: 2.4rem;
	}
	footer .top .center, footer .top .right {
		display: block;
	}
	footer .top .center {
		margin-right: 0;
	}
	footer > ul, footer > small {
		font-size: 1rem;
	}

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

	/* hgroup */

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

	/* bread */

	article > #bread {
		margin: 0 1.95rem 6.5rem 1.95rem;
	}
	article > #bread 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 {
		float: none;
		width: auto;
	}
	article > .archives .post:nth-of-type(odd) {
		margin-right: 0;
	}
	article > .archives .post h2 {
		font-size: 1.6rem;
	}
	article > .archives .post h2 sup {
		font-size: 0.8rem;
	}
	article > .archives .post ul li {
		font-size: 1rem;
	}

	/* pagination */

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

	/*-----------------------------------------------------
		js
	------------------------------------------------------*/

	/* drawer */

	.drawer-hamburger {
		width: 1.75em;
		padding: 0.75em 1.25em 2.5em 1.25em;
	}
	.drawer-hamburger:after {
		font-size: 0.8rem;
		bottom: 1.5em;
	}
	.drawer-hamburger-icon:before {
		top: -8px;
	}
	.drawer-hamburger-icon:after {
		top: 8px;
	}
	.drawer-hamburger-icon, .drawer-hamburger-icon:after, .drawer-hamburger-icon:before {
		height: 2px;
	}
	.drawer-nav {
		width: 100%;
		z-index: 5;
	}
	.drawer--right .drawer-nav {
		right: -100%;
	}

/* navigation */

ul#navigation {
	width: 100%;
	right: 0;
	left: 0;
	table-layout: fixed;
	font-size: 1.3em;
	-moz-border-radius: 2.4em 2.4em 0 0;
	-webkit-border-radius: 2.4em 2.4em 0 0;
	border-radius: 2.4em 2.4em 0 0;
}
ul#navigation li {
	padding: 0;
}
ul#navigation li a {
	display: block;
}
ul#navigation li.contact {
	font-size: 0;
}
ul#navigation li.contact a {
	font-size: 0;
	line-height: 1.75;
}
ul#navigation li.contact a:before {
	font-size: 2.4rem;
	display: block;
	line-height: 1;
}
ul#navigation li.contact a:after {
	font-size: 1rem;
	content: 'お問い合わせ';
}
ul#navigation li.pagetop, ul#navigation li.access {
	font-size: 1rem;
}
ul#navigation li.pagetop a:before, ul#navigation li.access a:before {
	font-size: 2.4rem;
}

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

	/*-----------------------------------------------------
		editor-styles-wrapper
	------------------------------------------------------*/

	.editor-styles-wrapper {
		font-size: 1.3em;
	}
	.editor-styles-wrapper h1 {
		font-size: 2.4rem;
	}
	.editor-styles-wrapper h2 {
		font-size: 2.1rem;
	}
	.editor-styles-wrapper h3 {
		font-size: 1.8rem;
	}
	.editor-styles-wrapper h4 {
		font-size: 1.6rem;
	}
	.editor-styles-wrapper h5 {
		font-size: 1.4rem;
	}

	/*-----------------------------------------------------
		editor
	------------------------------------------------------*/

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

	/* buttons */

	.wp-block-buttons.is-layout-flex {
		display: block;
	}
	.wp-block-buttons.is-layout-flex .wp-block-button {
		margin: 0 0 3em 0;
		display: block;
	}
	.wp-block-buttons.is-layout-flex .wp-block-button .wp-block-button__link {
		padding: 0 0 0 24px;
		text-align: left;
		display: inline-block;
		width: auto;
	}
	.wp-block-buttons.is-layout-flex .wp-block-button .wp-block-button__link:before {
		width: 48px;
		height: 48px;
	}

	/* subtitle */

	h3.subtitle {
		font-size: inherit;
	}

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

	/* home_g */

	.home_g {
		gap: 0 1em;
	}
	.home_g .right .post {
		display: block;
		width: auto;
		padding: 1em 0;
	}
	.home_g .right .post time, .home_g .right .post h3 {
		display: block;
		padding: 0;
	}
	.home_g .right .post time {
		width: auto;
	}
	.home_g .right .post h3 sup {
		font-size: 0.8rem;
	}
	.home_g .right p a {
		padding: 0 0 0 24px;
	}
	.home_g .right p a:before {
		width: 48px;
		height: 48px;
	}

	/* home_f */

	.home_f .wp-block-details summary {
		font-size: 1.8rem;
	}

	/* home_e */

	.home_e.is-layout-grid > .wp-block-group:before {
		width: 1.8rem;
		height: 1.8rem;
		bottom: 1.8rem;
	}


	/* home_d */

	.home_d.is-layout-flex {
		background-image: -moz-linear-gradient( top, rgba(229,229,230,1) 210px, rgba(229,229,230,0) 210px);
		background-image: -webkit-linear-gradient( top, rgba(229,229,230,1) 210px, rgba(229,229,230,0) 210px);
		background-image: linear-gradient(to bottom, rgba(229,229,230,1) 210px, rgba(229,229,230,0) 210px);
	}
	.home_d.is-layout-flex .hgroup {
		margin-right: 1em;
	}
	.home_d.is-layout-flex .right p {
		font-size: 1.4rem;
	}

	/* home_c */

	.home_c > .wp-block-group__inner-container p {
		font-size: 1.4rem;
	}
	.home_c > .wp-block-group__inner-container .wp-block-group {
		margin-right: 1em;
	}

	/* home_b */

	.home_b > .wp-block-group__inner-container .wp-block-image .alignleft {
		margin: 0 0 2em 0;
	}

	/* home_a */

	h1.home_a {
		margin-right: -1.95rem;
		margin-left: -1.95rem;
		padding: 10rem 1.95rem;
	}
	h1.home_a br {
		display: none;
	}

	/* profile_e */

	.profile_e.is-layout-grid {
		display: block;
	}
	.profile_e.is-layout-grid .wp-block-group {
		margin-bottom: 2em;
		padding-bottom: 0;
	}

	/* profile_b */

	.profile_b.is-layout-flex .wp-block-table table, .profile_b.is-layout-flex .wp-block-table tbody, .profile_b.is-layout-flex .wp-block-table tr, .profile_b.is-layout-flex .wp-block-table td, .profile_b.is-layout-flex .wp-block-table th {
		display: block;
	}
	.profile_b.is-layout-flex .wp-block-table td, .profile_b.is-layout-flex .wp-block-table th {
		padding: 0;
	}
	.profile_b.is-layout-flex .wp-block-table tr {
		padding: 0.75em 0;
	}
	.profile_b.is-layout-flex .wp-block-table tr > :first-child {
		width: auto;
	}

	/* policy_c */

	.policy_c {
		padding: 1.5em 1.5em 2em 1.5em;
	}
	.policy_c:not(:last-of-type):after {
		width: 1.8rem;
		height: 1.8rem;
		bottom: -1rem;
	}

	/* service_b */

	.is-layout-grid.service_b > .wp-block-group {
		padding: 1.5em 1.5em 2.5em 1.5em;
	}

	/* fee_a */

	.fee_a .wp-block-table {
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
	.fee_a .wp-block-table::-webkit-scrollbar {
		display:none;
	}
	.fee_a .wp-block-table table {
		table-layout: auto;
	}
	.fee_a .wp-block-table td, .fee_a .wp-block-table th {
		white-space: nowrap;
	}
	.fee_a .wp-block-table tr > :first-child {
		width: auto;
	}

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

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

	/*-----------------------------------------------------
		keyframes
	------------------------------------------------------*/

}