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

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

	/* header */

	header {
		font-size: 1.3em;
	}

	/* main */

	main > .logo {
		padding: 2.15rem 1.95rem;
	}
	main > .logo img {
		width: 100px;
	}

	/* footer */

	footer {
		font-size: 1.3em;
	}
	footer h2 {
		font-size: 1.6rem;
	}
	footer h3 {
		font-size: 2.1rem;
	}
	footer h3 br {
		display: none;
	}
	footer .more {
		font-size: 1.6rem;
	}
	footer .more a {
		min-width: calc(100% - 4em);
	}
	footer h4 {
		display: block;
		text-align: center;
	}
	footer .logo {
		display: block;
		margin-right: 0;
	}
	footer .logo img {
		width: 180px;
	}

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

	/* hgroup */

	article > #hgroup {
		font-size: 1.3em;
	}
	article > #hgroup h2 {
		font-size: 1.8rem;
	}
	article > #hgroup p {
		font-size: 1.6rem;
		margin-bottom: 1em;
	}
	article > #hgroup p br {
		display: none;
	}
	article > #hgroup h3 {
		font-size: 2.1rem;
		padding: 0.75em 1em 0.5em 1em;
	}
	article > #hgroup h3 span {
		font-size: 3rem;
	}
	article > #hgroup h4 {
		font-size: 2.1rem;
	}
	article > #hgroup h4 br {
		display: none;
	}
	article > #hgroup small {
		font-size: 1rem;
	}
	article > #hgroup figure {
		width: 90px;
	}

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

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

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

	/* buttons */

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

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

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

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

	/* more */

	.more a {
		display: block;
		min-width: calc(100% - 4em - 4px);
	}

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

	/* home_h */

	.entry .home_h .gallery .wp-block-image {
		width: 120px;
	}

	/* home_g */

	.entry .home_g .block .item:nth-child(2) h5 {
		font-size: 3.6rem;
	}
	.entry .home_g .bottom .civil {
		display: block;
	}
	.entry .home_g .bottom .civil .item {
		margin-bottom: 1em;
	}
	.entry .home_g .bottom .civil .item:last-child {
		margin-bottom: 0;
	}
	.entry .home_g .bottom > h4:before {
		width: 46px;
		height: 24px;
		top: -4.5rem;
	}

	/* home_f */

	.entry .home_f .block .wp-block-table:after {
		height: 24px;
		width: 46px;
		bottom: -40px;
	}
	.entry .home_f .block .item .wp-block-image {
		width: 130px;
	}
	.entry .home_f > .wp-block-table tfoot td:last-child {
		font-size: 1.6rem;
	}
	.entry .home_f > .wp-block-table + p {
		text-align: left;
	}
	.entry .home_f > .wp-block-table + p:before {
		width: 46px;
		height: 24px;
		bottom: -4rem;
	}

	/* home_e */

	.entry .home_e .block {
		display: block;
		margin: 0;
	}
	.entry .home_e .block .item {
		margin-bottom: 1em;
	}

	/* home_d */

	.entry h2.home_d:after {
		font-size: 5.4rem;
	}

	/* home_b */

	.entry .home_c .block:before {
		width: 46px;
		height: 24px;
		bottom: -4.5rem;
	}
	.entry .home_c .block div h5 span {
		font-size: 1.3rem;
	}
	.entry .home_b .block .wp-block-image {
		display: block;
		width: 100%;
		max-width: 100%;
		margin-right: 0;
		margin-left: 0;
	}
	.entry .home_c .block div:not(:last-child):after {
		font-size: 3rem;
		bottom: -1.25em;
	}

	/* home_a */

	.entry .home_a:before {
		width: 46px;
		height: 24px;
		top: 4rem;
	}

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

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

	/* fixedmenu */

	#fixedmenu {
		display: table;
		width: 100%;
		table-layout: fixed;
		font-size: 0.8rem;
	}
	#fixedmenu li {
		display: table-cell;
	}
	#fixedmenu li.phone, #fixedmenu li.contact {
		display: table-cell;
	}
	#fixedmenu li:not(:last-child) {
		border-right: 1px solid rgba(255,255,255,0.25);
	}
	#fixedmenu li.phone a:before {
		content: '\e0b0';
	}
	#fixedmenu li.contact a:before {
		content: '\e158';
	}


}