/*
Theme Name: kin-jimusyo
Theme URI: 
Author: ArrowLinks
Author URI: 
Description: 2023
Version: 
License: 
License URI: 
Tags: 
Text Domain: 
*/

@charset "utf-8";

:root {

	/* width */
	--size_base:		1200px;
	--size_base_cover:	1220px;

	/* font */
	--font_mi:		"游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
	--font_go:		"游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;

	/* 使い方: var(--color_base); */
}

html, body, div, span, 
h1, h2, h3, h4, h5, h6, 
p, em, strong, i, a,
ul, ol, li, dl, dt, dd, 
table, th, td ,
video,
header, main, footer, nav, section {
	box-sizing:			border-box;
	margin:				0px;
	padding:			0px;
}

html,
body {
	width:				100%;
	font-family:		var(--font_go);
	font-size:			17px;
	font-style:			normal;
	font-weight:		normal;
	line-height:		1.75em;
	text-align:			left;
	letter-spacing:		0.05em;
	color:				#000;
	overflow-wrap:		break-word;
	word-break:			break-all;
	outline:			none;
}

h6,
h5,
h4,
h3,
h2,
h1 {
	font-size:			100%;
	text-align:			left;
	line-height:		100%;
}

h2 p{
	text-align: 		center;
	margin: 			3% auto;
	font-size: 			63px;
	font-family:		var(--font_mi);
}

@media all and (max-width: 780px) {
	h2 p {
		font-size:		42px;
	}
}

@media all and (max-width: 355px) {
	h2 p {
		font-size:		200%;
	}
}


@media all and (max-width: 296px) {
	h2 p {
		font-size:		150%;
	}
}

h3 {
	margin-bottom:		20px;
	color:				#00853C;
	font-size:			24px;
	font-weight:		bold;
	line-height:		100%;
}

.ttl_line1 {
	font-weight: 		bold;
	font-size: 			20px;
	border-left: 		5px solid #00853C;
	border-bottom: 		2px solid #00853C;
	padding:			0.25em 0 0.3em 0.5em;
}

.ttl_line3 {
	font-weight: 		bold;
	font-size: 			17px;
	border-left: 		5px solid #000;
	padding-left:		0.5em;
	margin-bottom: 		2%;
}

.mt5{
	margin-top: 		5%;
}

hr{
	border: 			solid 0.5px #00853C;
	margin-top: 		5%;
}

a {
	text-decoration:	none;
	color:				#fff;
	transition:			all 0.3s;
}
a:hover {
	text-decoration:	underline;
	color:				#000;
}

a:hover img {
	filter:				brightness(0.8);
}

i {
	font-style:			normal;
}

em {
	font-style:			normal;
}

table {
	border-collapse:	collapse;
}
th, td {
	empty-cells:		show;
}

p {
	text-align:			justify;
}

th {
	font-weight:		normal;
}

/* レスポンシブ対応 */
/* ---------------------------------------------------------------- */
body {
	-webkit-text-size-adjust:	100%;
}

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

.pc_only,
img.pc_only {
	display:			block;
}

.sp_only,
img.sp_only {
	display:			none;
}

@media all and (max-width: 780px) {

	.pc_only,
		img.pc_only {
			display:			none;
		}

	.sp_only,
		img.sp_only {
			display:			block;
		}

}

/* clearfix */
/* ================================================================ */
.clearfix:after {
	content:		"";
	display:		block;
	clear:			both;
}

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

.txt_c {
	text-align:		center;
}
.txt_l {
	text-align:		left;
}
.txt_r {
	text-align:		right;
}

.box_l {
	float:			left;
}

.box_r {
	float:			right;
}


/*header*/
/* ---------------------------------------------------------------- */

header {
	width:				100%;
	padding:			10px 0 0;
	position:			relative;
	overflow: 			hidden;
}

header nav {
	float:				right;
	display:			inline-block;
	width:				auto;
	position: 			absolute;
	bottom: 			3%;
	right: 				5%;
}

header nav > ul {
	list-style-type:	none;
	display:			block;
}

header nav > ul > li {
	display:			inline-block;
	padding:			20px 18px;
	border-bottom:		none;
}

header nav > ul > li > a {
	position:			relative;
	display:			block;
	cursor:				pointer;
	font-size:			20px;
	font-weight:		bold;
	color:				#fff;
}
header nav > ul > li a:hover {
	color:				#fff;
	text-decoration:	none;
}

@media all and (max-width: 780px) {

	header nav {
		width:				100%;
		margin-top:			-46px;
		float:				right;
		display:			inline-block;
		position: 			relative;
		right: 				0;
	}

	header nav ul {
		display:			none;
		width:				100%;
		background-color:	#fff;
		-webkit-margin-before: 0 !important;
		-webkit-margin-after: 0 !important;
	}

	header nav > ul > li {
		display:			inline-block;
		width:				100%;
		padding:			20px 18px;
		border-bottom: 		solid 2px #717071;
		-webkit-margin-before: 0 !important;
	}

	header nav > ul > li > a {
		font-size:			16px;
	}
	header nav > ul > li a:hover {
		text-decoration:	none;
		color: 				#000;
	}
}

#header_hr{
	border: 				solid 0.1px #fff;
	position: 				absolute;
	bottom: 				14%;
	width: 					100%;
}

.imgbox{
	position: 				relative;
}

#header_menu_sp {
	float:				right;
	display:			none;
	position:			relative;
	width:				28px;
	height:				30px;
	margin:				2% 4% 0% 4%;
	cursor:				pointer;
}

#header_menu_sp span {
	display:			block;
	position:			absolute;
	width:				28px;
	border-bottom:		solid 3px #fff;
	opacity:			1;
	-webkit-transition:	.35s ease-in-out;
	-moz-transition:	.35s ease-in-out;
	transition:			.35s ease-in-out;
}
#header_menu_sp span:nth-child(1) {top: -70px;}
#header_menu_sp span:nth-child(2) {top: calc(50% - 75px);}
#header_menu_sp span:nth-child(3) {bottom: 76px;}

#header_menu_sp.close span:nth-child(1) {
	top:				-70px;
	-webkit-transform:	rotate(45deg);
	-moz-transform:		rotate(45deg);
	transform:			rotate(45deg);
}
#header_menu_sp.close span:nth-child(2) {
	opacity:			0;
}
#header_menu_sp.close span:nth-child(3) {
	bottom:				96px;
	-webkit-transform:	rotate(-45deg);
	-moz-transform:		rotate(-45deg);
	transform:			rotate(-45deg);
}

#menu {
	display:			block;
}

#oofunatowan{
	position: 			absolute;
	top: 				3%;
	right:	 			4%;
	color: 				#fff;
	font-size: 			30px;
}

@media all and (max-width: 780px) {

	#header_menu_sp {
		display:		block;
	}

	#menu {
		display:			none;
		width:				100%;
	}
	
	#menu > a {
		width:				100%;
		padding:			10px 0;
		text-align:			center;
	}

	header nav > ul > li > a {
		color: 				#000;
	}

	#oofunatowan{
		font-size: 			17px;
	}

	#header_menu_sp span:nth-child(1) {top: -50px;}
	#header_menu_sp span:nth-child(2) {top: calc(50% - 55px);}
	#header_menu_sp span:nth-child(3) {bottom: 56px}

	#header_menu_sp.close span:nth-child(1) {
		top:				-34px;
	}
	#header_menu_sp.close span:nth-child(3) {
		bottom:				61px;
	}

}


@media all and (max-width: 500px) {

	#header_menu_sp span:nth-child(1) {top: -44px;}
	#header_menu_sp span:nth-child(2) {top: calc(50% - 49px);}
	#header_menu_sp span:nth-child(3) {bottom: 51px;}
}

/*footer*/
/* ---------------------------------------------------------------- */

footer {
}

#footer {
	width:				100%;
	padding:			20px 0;
	background-color:	#00853C;
	color:				#fff;
	margin-top: 		-1%;
}

footer > div {
	width:				100%;
	margin:				auto;
}

#copyright {
	width:				100%;
	font-size:			12px;
	text-align:			center;
	line-height:		100%;
}

@media all and (max-width: 899px) {	/* 以下 */
	footer {
		margin-top: 		-1.5%;
	}
}

@media all and (max-width: 630px) {	/* 以下 */
	footer {
		margin-top: 		-2%;
	}
}

@media all and (max-width: 471px) {	/* 以下 */
	footer {
		margin-top: 		-3%;
	}
}

#page_lift {
	position:			fixed;
	display:			inline-block;
	right:				10px;
	bottom:				40px;
}
#page_lift a {
	display:			block;
	width:				40px;
	height:				40px;
	line-height:		40px;
	text-align:			center;
	text-decoration:	none;
	border-radius:		50%;
	color:				#fff;
	background-color:	#00853C;
}
#page_lift a:hover {
	background-color:	#00853C;
}

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


/*main*/
/* ---------------------------------------------------------------- */
#catchcopy{
	width:				100%;
	margin-top: 		5%;
}

#office,#business,#license,#access{
	width:				100%;
	margin-top: 		5%;
}

.inner{
	width: 				100%;
	max-width: 			1000px;
	margin:				auto;
}

.inner2{
	width: 				100%;
	max-width: 			950px;
	margin:				auto;
}

#back_img{
	background-image: 	url(images/home/top_img02.jpg);
	background-size: 	cover;
	background-repeat: 	no-repeat;
	height: 			0;
	padding-top: 		58%;
	position: 			relative;
	width: 				100%;
}

#logo{
	position: 			absolute;
	bottom: 			16%;
	right: 				6%;
	width: 				25%;
}

/* 方眼紙模様スタイル */
.hougan {
	background-image: 		linear-gradient(0deg, transparent calc(100% - 1px), #EAEAEA calc(100% - 1px)),
							linear-gradient(90deg, transparent calc(100% - 1px), #EAEAEA calc(100% - 1px));
	background-size: 		8px 8px;
	background-repeat: 		repeat;
	background-position: 	center center;
	padding: 				20px;
}

.hougan2 {
	background-image: 		linear-gradient(0deg, transparent calc(100% - 1px), #EAEAEA calc(100% - 1px)),
							linear-gradient(90deg, transparent calc(100% - 1px), #EAEAEA calc(100% - 1px));
	background-size: 		8px 8px;
	background-repeat: 		repeat;
	background-position: 	center center;
	padding-top: 			10px;
}

.hougan3 {
	background-image: 		linear-gradient(0deg, transparent calc(100% - 1px), #EAEAEA calc(100% - 1px)),
							linear-gradient(90deg, transparent calc(100% - 1px), #EAEAEA calc(100% - 1px));
	background-size: 		8px 8px;
	background-repeat: 		repeat;
	background-position: 	center center;
	padding: 				20px 0;
}

.comimg{
	display: 				block;
	margin: 				7% auto;
}

.box2 {
	float:				left;
	position:			relative;
	width:				50%;
}

.box4 {
	padding: 			0% 2% 4% 2%;
}

.box5 {
	float:				left;
	position:			relative;
	width:				33%;
	padding: 			2%;
}

.bb{
	border-bottom: 		solid 1px;
	padding: 			4% 0;
}

.pd4{
	padding: 			4% 0;
}

.fl{
	float: 				left;
}

.txt_large{
	font-size: 			30px;
	font-weight: 		bolder;
	text-align: 		center;
	padding: 			1% 0;
}

.pb{
	padding-bottom: 	5%;
}

.pb1{
	padding-bottom: 	1%;
}

.tel-number a {
	color:				#000;
	text-decoration:	none;
}

.tel-number a:hover {
	color:				#00853C;
	text-decoration:	none;
}

.fax-number{
	pointer-events:		none;
	color: 				#000;
}

.fax-number a{
	color: 				#000;
}


@media all and (max-width: 780px) {
	.box2 , .box4 {
		width:				100%;
	}

	.hougan img{
		display: 			inline-block;
	}

	.sp_only ul{
		display: 			flex;
		justify-content: 	space-between;
	}

	.sp_only li{
		list-style: 		none;
		padding: 			0 1%;
	}

	.inner{
		width: 				95%;
		max-width: 			780px;
		margin: 			auto;
	}

	.inner2{
		width: 				90%;
		max-width: 			780px;
		margin: 			auto;
	}

	.inner3{
		width: 				90%;
		max-width: 			780px;
		margin: 			auto;
	}

	#logo{
		width: 				30%;
		right: 				2%;
		bottom: 			22%;
	}

	#catchcopy{
		margin-top: 		2%;
	}
}

@media all and (max-width: 500px) {
	#logo{
		width: 				45%;
		right: 				2%;
		bottom: 			18%;
	}
}

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

.office_box table {
	width: 				95%;
}

.office_box table th {
	width: 				30%;
	max-width: 			130px;
	padding:			2% 0 2% 4%;
	border-bottom:		dotted 1px #000;
	background-color:	#E4E4E4;
}

.office_box table td {
	width: 				70%;
	max-width: 			320px;
	padding:			2% 0 2% 4%;
	border-bottom:		dotted 1px #000;
}

.pdud{
	padding-bottom: 	3%;
	padding-top: 		3%;
}

.bus_p{
	padding: 			2% 0;
	border-bottom: 		1px solid #000;
	min-height: 		75px;
	vertical-align: 	middle;
	align-items: 		center;
	display: 			flex;
	text-indent: 		-1em;
	padding-left: 		1em;
}

.license_p{
	padding: 			2% 0;
	border-bottom: 		1px solid #000;
	min-height: 		75px;
	vertical-align: 	middle;
	align-items: 		center;
}

.license_p2{
	padding: 			2% 0;
	min-height: 		75px;
	vertical-align: 	middle;
	align-items: 		center;
}

.busimg{
	display: 			block;
	margin: 			auto;
}

.gbar{
	color: 				#00853C;
	border: 			solid;
	margin: 			0;
}

.map iframe{
	width:				100%;
}

#f_img img{
	width: 				100%;
}

#f_img{
	margin-top: 		0;
}

@media all and (max-width: 780px) {
	.license_p,.license_p2{
		padding: 			4% 0;
		min-height: 		60px;
	}

	.map{
		max-width: 			780px;
		text-align: 		center;
	}

	.map iframe{
		width:				99%;
	}
}

/* ---------------------------------------------------------------- */
/* 404 */
/* ---------------------------------------------------------------- */
#e404 {
	position:			relative;
	width:				100%;
	max-width:			960px;
	margin:				auto;
	padding:			5% 0 10%;
	background-color:	#fff;
}

#e404 em {
	display:			block;
	font-size:			200px;
	text-align:			center;
	line-height:		1;
}
#e404 em span {
	display:			block;
	font-size:			80px;
	letter-spacing:		-0.05em;
}
@media screen and (max-width: 768px) {
	#e404 em {
		font-size:		140px;
	}
	#e404 em span {
		font-size:		50px;
	}
}

#e404 p {
	margin-top:		3em;
	font-size:		16px;
	text-align:		center;
}
#e404 a {
	display:			inline-block;
	min-width:			180px;
	margin:				30px auto 0;
	padding:			0 15px;
	color:				#fff;
	font-size:			18px;
	text-align:			center;
	line-height:		50px;
	vertical-align:		top;
	background-color:	#000;
	text-decoration:	none;
	transition:			all 0.5s;
}
#e404 a:hover {
	text-decoration:	none;
	opacity:			0.6;
}
#e404 a:hover img {
	opacity:			1;
}
@media screen and (-webkit-min-device-pixel-ratio:0) and (max-width:768px) {
	#e404 p a:hover {
		opacity:		1;
	}
}

/* ---------------------------------------------------------------- */
/* 初期化（記事エディタ） */
/* ---------------------------------------------------------------- */
.wysiwyg {
	margin-bottom:		40px;
}
.wysiwyg:last-child {
	margin-bottom:		100px;
}


.wysiwyg h1,
.wysiwyg h2,
.wysiwyg h3,
.wysiwyg h4,
.wysiwyg h5,
.wysiwyg h6,
.wysiwyg ol,
.wysiwyg ul,
.wysiwyg a,
.wysiwyg a:hover,
.wysiwyg p,
.wysiwyg i,
.wysiwyg b,
.wysiwyg em {
	max-width:			100%;
	padding:			initial;
	margin:				initial;
	font-weight:		initial;
	font-style:			initial;
	text-align:			initial;
	line-height:		initial;
	border:				initial;
	text-decoration:	initial;
}

.wysiwyg ul,
.wysiwyg ol {
	padding-left:		24px;
}

.wysiwyg h1 {
	display:			block;
	font-size:			2em;
	margin:				0.67em 0;
	border:				none;
}
.wysiwyg h2 {
	display:			block;
	font-size:			1.6em;
	margin:				0.33em 0;
	border:				none;
}
.wysiwyg h3 {
	display:			block;
	font-size:			1.2em;
	margin:				0.3em 0;
	border:				none;
}
.wysiwyg h4 {
	display:			block;
	font-size:			1em;
	margin:				0.3em 0;
	border:				none;
}
.wysiwyg h5 {
	display:			block;
	font-size:			0.8em;
	margin:				0.3em 0;
	border:				none;
}
.wysiwyg h6 {
	display:			block;
	font-size:			0.6em;
	margin:				0.3em 0;
	border:				none;
}
.wysiwyg img {
	display:			block;
	margin:				30px auto;
}
.wysiwyg a {
	color:				#0999eb;
	text-decoration:	underline;
}
.wysiwyg a:hover {
	opacity:			0.8;
}

/* **************************************************************** */
