@charset "utf-8";
/*
Theme Name: affinger-child
Version: 2.0
Template: affinger
*/ :root {
	--w_main: 100%;
	--w_inner: calc(876px + 40px);
	--color_main: #f00;
	--color_sub: #fff;
	--color_key: #ff0;
	--color_default: #000;
	--ft_LLL: calc(42px * 0.9);
	--ft_LL: calc(36px * 0.7);
	--ft_L: calc(28px * 0.7);
	--ft_M: calc(24px * 0.7);
	--ft_S: calc(20px * 0.7);
	--ft_SS: calc(16px * 0.7);
}
body {
	margin: 0px;
	background-color: #fefef2;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 20px;
}
body p {
	line-height: 1.8;
}
strong {
	font-weight: 700;
}
blockquote {
	color: var(--color_sub);
}
img {
	max-width: 100%;
	height: auto;
}

a {
	text-decoration: none;
}
body {
	max-width: var(--w_main) !important;
	font-size: 18px !important;
	line-height: 1.8 !important;
	position: relative;
	margin: 0;
}
main {
	max-width: var(--w_main);
	margin: auto;
}
#content #contentInner main{
	max-width: var(--w_inner);
	margin: auto;
}
#btn_top::before {
	font-family: 'Material Icons';
	content: '\f182';
	font-size: 80px;
	position: fixed;
	bottom: 20px;
	right: 20px;
	color: var(--color_main);
	cursor: pointer;
}
.wrap_content {
	max-width: var(--w_main);
	margin: 60px auto;
}
.wrap_content > section {
	max-width: var(--w_inner);
	margin:40px auto 20px auto;
	padding: 0px 20px;
	background-color: var(--color_sub);
}
/*============================================================
ロゴ
============================================================*/
header#hd {
	max-width: calc(var(--w_inner) + 100px);
	margin: 0px auto 20px auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
h1#logo {
	width: 240px;
	margin: 0;
}
div#hd_contact {
	width: 280px;
}
div#hd_contact p {
	margin: 0px auto;
	font-size: 12px;
}
div#hd_contact strong img {}
/*============================================================
見出しのスタイル定義
============================================================*/
h2:not([class^="is-style-st-heading-custom-"]):not([class*=" is-style-st-heading-custom-"]):not(.st-css-no2), .h2modoki {
	background-color: var(--color_main);
	color: var(--color_sub);
	text-align: center;
	padding: 0.6em 0em !important;
	margin: 0px 0;
}
main h2 span.st-dash-design {
	text-align: center;
	padding: 1em 0em !important;
	margin: 0px 0;
	display: block;
}
.post h3:not([class^="is-style-st-heading-custom-"]):not([class*=" is-style-st-heading-custom-"]):not(.st-css-no2):not(.rankh3):not(.post-card-title):not(#reply-title), .h3modoki {
	position: relative;
	background: var(--color_sub);
	color: var(--color_default);
	text-align: center;
	margin: 40px auto;
	border-top:none!important;
	border-bottom:none;
}
h3::before, h3::after {
	border-top:none!important;
}
.post h4:not([class^="is-style-st-heading-custom-"]):not([class*=" is-style-st-heading-custom-"]):not(.st-css-no2):not(.point):not(.rankh4), .h4modoki {
	color: var(--color_default) !important;
	text-align: center !important;
}
h5 {
	color: var(--color_default) !important;
	text-align: center !important;
	background: var(--color_sub) !important;
}
h3.ttl_banzai {
	text-align: center;
	position: relative;
	display: table;
	margin: 80px auto 40px auto;
	border-bottom: none !important;
}
.ttl_banzai::before, .ttl_banzai::after {
	transform: scale(0.4);
	display: inline-block;
	height: 160px;
	position: absolute;
	top: -60px;
}
.ttl_banzai::before {
	content: url("/wp-content/uploads/img_banzai_l.png");
	left: -120px;
}
.ttl_banzai::after {
	content: url("/wp-content/uploads/img_banzai_r.png");
	right: -120px;
}
/*============================================================
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
レスポンシブ
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
============================================================*/
@media only screen and (min-width: 641px) {
	body {
		font-size: 18px;
	}
	.entry-title:not([class^="is-style-st-heading-custom-"]):not([class*=" is-style-st-heading-custom-"]):not(.st-css-no2),
.post .entry-title:not([class^="is-style-st-heading-custom-"]):not([class*=" is-style-st-heading-custom-"]):not(.st-css-no2) {
	padding-top: 0.6em!important;
	padding-bottom: 0.6em!important;
}

	h1.entry-title {
		font-size: 37px;
		line-height: 1.2;
		background-color: var(--color_main);
		color: var(--color_sub)!important;
		padding: 0.6em;
		text-align: center;
	}
	h2 {
		font-size: 37px;
		line-height: 1.2;
	}
	h3 {
		font-size: 32px;

	}
	.post h3:not([class^="is-style-st-heading-custom-"]):not([class*=" is-style-st-heading-custom-"]):not(.st-css-no2):not(.rankh3):not(.post-card-title):not(#reply-title), .h3modoki {

				border-bottom-width: 5px!important;
	border-top:none!important;
}
	.wrap_content h3.ttl_banzai {
		font-size: 30px;
	}
	h4 {
		font-size: 22px;
	}
	h5 {
		font-size: 20px;
	}
}
/*============================================================
フッター
============================================================*/
#ft {
	margin: 90px 0px 0px 0px;
	max-width: var(--w_main);
	background-color: var(--color_main);
}
#ft > section {
	max-width: var(--w_inner);
	color: var(--color_sub);
	margin: auto;
	padding: 40px 0px;
}
#ft h2#ft_logo {
	width: 220px;
	padding: 10px 30px !important;
	background-color: var(--color_sub);
	line-height: 1;
	margin: 0;
}
#ft > section address {
	font-style: normal;
}
#ft > section a {
	color: var(--color_sub);
	text-decoration: underline;
}
#ft p {
	margin: 0px;
}
#ft h3 {
	border-bottom: none!important;
}
/*============================================================
フォーム関係
============================================================*/
.wrap_content h3 {
	font-size: 25px;
	text-align: center;
}
.wrap_content h4 {
	font-size: 20px;
	margin-bottom: 10px;
}
.wrap_content .fm_required {
	margin-left: 1em;
	color: var(--color_sub);
	padding: 5px 10px;
	background-color: #c2272d;
	font-size: 14px;
}
.wrap_content input[type="text"], .wrap_content input[type="tel"], .wrap_content input[type="email"], .wrap_content input[type="number"], .wrap_content textarea {
	width: calc(100% - 10px);
	padding: 5px;
	font-size: 20px;
	border: solid 1px #555;
}
.wrap_content input[type="radio"], .wrap_content input[type="checkbox"] {
	width: 30px;
	height: 30px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
}
.wrap_content .txt_fm_tips {
	font-size: 0.8em;
	margin-top: 5px;
}
.wrap_content div {
	max-width:calc(var(--w_inner) - 240px);
	font-size: 17px;
	margin:auto;
}
.wrap_content label {
	position: relative;
}
.wrap_content .wpcf7-list-item label span.wpcf7-list-item-label, .wpcf7-list-item-label {
	font-size: 20px;
	padding-left: 40px;
	display: block;
}
.wrap_content .wrap_fm_kit .wpcf7-list-item p {
	font-size: 16px;
	margin: 0px 0px 0px 60px;
}
.wrap_content select {
	font-size: 20px;
	padding: 10px;
}
.btn_form {}
/*============================================================
お問い合わせページ
============================================================*/
#wrap_contact.wrap_content {}
#wrap_contact.wrap_content > section {
	background-color: transparent;
	margin: auto auto;
	max-width: calc(var(--w_inner))
}
.btn_form input[type="submit"], .btn_form input[type="button"], .btn_general_01 a {
	display: block;
	padding: 20px 40px;
	color: var(--color_sub);
	font-weight: bold;
	background: #ff7200;
	text-align: center;
	margin: 8px auto;
	border: none;
	border-radius: 100px;
	box-shadow: none;
	cursor: pointer;
	font-size: 34px;
	text-decoration: none;
	-webkit-appearance: none;
}
/*============================================================
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
レスポンシブ
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
============================================================*/
@media only screen and (max-width: 640px) {
	html #wpadminbar {
		top: -60px;
	}
	.wrap_content {
		margin: 20px 0px;
	}
	.wrap_content > section {
		padding: 0px 20px;
	}
	/*============================================================
ロゴ
============================================================*/
	header#hd {
		max-width: calc(var(--w_main) - 10px);
		margin: 0px auto 0px auto;
	}
	h1#logo {
		width: 160px;
	}
	div#hd_contact {
		display: none;
	}
	div#hd_contact strong img {}
	#img_top img {
		width: var(--w_main);
	}
	/*============================================================
見出しのスタイル定義
============================================================*/
	.wrap_content > section {
		padding: 0px 10px;
	}
		h1.entry-title {
		font-size: 40px;
		line-height: 1.2;
		background-color: var(--color_main);
		color: var(--color_sub)!important;
		padding: 1em;
		text-align: center;
			padding-top: 1em!important;
			padding-bottom: 1em!important;
	}
	h2 {
		font-size: 28px !important;
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
		.post h3:not([class^="is-style-st-heading-custom-"]):not([class*=" is-style-st-heading-custom-"]):not(.st-css-no2):not(.rankh3):not(.post-card-title):not(#reply-title), .h3modoki {

				border-bottom-width: 3px!important;

}
	.ttl_banzai {
		font-size: 20px;
	}
	.ttl_banzai::before, .ttl_banzai::after {
		transform: scale(0.2);
		display: inline-block;
		height: 160px;
		position: absolute;
		top: -60px;
		width: calc(100% - 60px);
	}
	.ttl_banzai::before {
		margin-left: -120px;
		left: 0px;
	}
	.ttl_banzai::after {
		margin-right: -120px;
		right: 0px;
	}
	.ttl_banzai em {
		display: block;
	}
	/*============================================================
お問い合わせページ
============================================================*/
	#wrap_contact.wrap_content {}
	#wrap_contact.wrap_content > section {
		width: calc(var(--w_main - 40px));
		margin: auto 20px;
	}

		.btn_form input[type="submit"], .btn_form input[type="button"], .btn_general_01 a {
		padding: 20px 0px;
		margin: 8px 0px;
		border: none;
		font-size: 34px;
		width: calc(100% - 0px);
	}
	/*============================================================
フッター
============================================================*/
	#ft {
		padding: 10px 40px;
		margin: auto;
	}
	#ft h2#ft_logo {
		width: 180px;
		margin: 0px auto;
		text-align: center;
	}
	#ft h2#ft_logo + p {
		text-align: center;
	}
	#ft p {
		font-size: 14px;
	}
	/*============================================================
閉じカッコ
============================================================*/
}
/*============================================================
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
レスポンシブ
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
============================================================*/
@media only screen and (max-width: 400px) {
		.btn_form input[type="submit"], .btn_form input[type="button"], .btn_general_01 a {
		padding: 10px 0px;
		font-size: 8vw;
	}
		/*============================================================
閉じカッコ
============================================================*/
}
	
/*============================================================
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ヘッダー上書き
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
============================================================*/
#header-full {
	width: var(--w_main);
}