/* reset */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* ************************ end reset */


@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Noto+Sans+JP:wght@100..900&display=swap');

body {
	font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
	line-height: 1.6;
	color: #333;
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 400;
	background-color: #F5F5F5;
}
#dynamic-to-top{
	bottom:100px;
	right: 10px;
}

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

em {
	font-style: normal !important;
}

.red {
	color: #D71518;
}

.white {
	color: #fff;
}

strong {
	font-weight: 600;
}

.center {
	text-align: center;
}

.right {
	text-align: right !important;
}

.left {
	text-align: left;
}

.mb-05em {
	margin-bottom: 0.5em;
}

.mb-1em {
	margin-bottom: 1em;
}

.mb-2em {
	margin-bottom: 2em;
}

.mb-3em {
	margin-bottom: 3em;
}

.mb-5em {
	margin-bottom: 5em;
}

.pd-1em {
	padding: 1em;
}

.pd-2em {
	padding: 2em;
}


.pt-3em {
	padding-top: 3em !important;
}

.pt-5em {
	padding-top: 5em !important;
}

.p-lr1em {
	padding-left: 1em;
	padding-right: 1em;
}

.p-tb05em {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

.p-tb1em {
	padding-top: 1em;
	padding-bottom: 1em;
}

.p-tb3em {
	padding-top: 3em;
	padding-bottom: 3em;
}


.bg-ylw {
	background-color: #FFD203;
}

.radius {
	border-radius: 30px;
}

.container {
	width: 850px;
	margin: 0 auto;
	padding: 40px 20px;
	box-sizing: border-box;
}

.bg-image {
	background-image: url(/wp/wp-content/themes/responsive_037/images/lp/lp-MandA-bg-cont.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	padding: 0;
	margin: 0;
	position: relative;
}

.bg-white-alpha {
	background-color: rgb(255, 255, 255, 0.67);
}

.bg-white {
	background-color: #fff;
}

.bg-red {
	background-color: rgb(215, 21, 24, 0.83);
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 3em 2em;
}

.relative {
	position: relative;
}

.flex-center {
	display: flex;
	justify-content: center;
	align-items: stretch;
	width: 100%;
	gap: 2em;
	flex-wrap: wrap;
}

.flex-column {
	display: flex;
	flex-flow: column;
	align-items: center;
	padding: 0;
}

.flex-end {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
}

.row-reverse {
	flex-direction: row-reverse !important;
}

.gap1em {
	gap: 1em;
}

.gap2em {
	gap: 2em;
}

.flex-1 {
	flex: 1;
}

.font-size12em {
	font-size: 1.2em;
}

.font-size15em {
	font-size: 1.5em;
}

.font-size2em {
	font-size: 2em;
}

.font-size3em {
	font-size: 3em;
}

.sp {
	display: none;
}

.pc {
	display: inline;
}

/* ヒーローエリア */
.hero {
	background-image: url(/wp/wp-content/themes/responsive_037/images/lp/lp-MandA-mv-bg.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	padding: 0;
	margin: 0;
	position: relative;
}

.hero .inner {
	width: 100%;
	height: 100%;
	background-color: rgb(255, 255, 255, 0.67);
	display: flex;
	flex-flow: column;
	align-items: center;
	padding: 10% 0;
}

.h1-wrapper {
	box-sizing: border-box;
	left: calc(50% - 870px/2 - 12px);
	background: linear-gradient(90deg, #D71518 0%, #F0474A 48.56%, #D71518 100%);
	box-shadow: 4px 4px 8px rgba(51, 51, 51, 0.5);
	transform: skewX(15deg);
	text-align: center;
	padding: 1em 4em 2em 4em;
	margin-bottom: 3em;
}

.h1-wrapper h1 {
	color: #fff;
	font-size: 2.5em;
	font-weight: 700;
	transform: skewX(-15deg);
}

.h1-wrapper h1 em {
	font-size: 1.5em;
	font-weight: 700;
	margin-bottom: 0.5em;
}

.h1-wrapper h1 img {
	width: 250px;
	height: auto;
	margin-bottom: -30px;
}

.mv-txt-wrapper {
	display: flex;
	flex-flow: column;
	align-items: start;

}

.mv-txt-base {
	background: #FFD203;
	padding-right: 0.5em;
	clip-path: polygon(0 0, 95% 0%, 100% 100%, 0% 100%);
	margin-bottom: 0.5em;
	overflow: visible;
}

.mv-txt {
	margin-top: -1em;
	background: #FFFFFF;
	font-weight: 600;
	font-size: 2em;
	line-height: 130%;
	display: flex;
	align-items: center;
	padding: 0.3em 1em 0.3em 0.3em;
	margin: 0 0 0.3em 0;
	clip-path: polygon(0 0, 95% 0%, 100% 100%, 0% 100%);
	overflow: visible
}

.mv-txt span {
	color: #D71518;
}









/* 特徴セクション */
.features {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-bottom: 5em;
}

h2 {
	font-weight: 700;
	font-size: 36px;
	line-height: 140%;
	text-align: center;
	margin: 1em auto;
}

h2 em {
	font-size: 1.5em;
	font-weight: 700;
	color: #D71518;
}

.feature-wrapper {
	display: flex;
	justify-content: center;
	gap: 1em;
	max-width: 850px;
}

.feature-item {
	flex: 1;
	padding: 30px;
	border-radius: 30px;
	background-color: #fff;
	text-align: center;
	position: relative;
}

h3 {
	font-weight: 600;
	font-size: 1.2em;
	margin-bottom: 1em;
}

.feature-item ul {
	list-style: circle;
	text-align: left;
	margin-left: 0;
	margin-bottom: 4em;
	font-size: 0.8em;
}

.feature-item figure {
	width: 60px;
	height: auto;
	margin: 0 auto;
	position: absolute;
	bottom: 20px;
	right: 0;
	left: 0;
	margin: 0 auto;
}

.features-lead {
	background-color: #fff;
	padding: 0.3em;
	margin: 0.3em auto;
	width: auto;
	font-size: 1.5em;
	font-weight: 600;
	text-align: center;
}



/* STEPセクション */
.steps {
	text-align: center;
}

.steps3people {
	width: 300px;
	padding: 0;
	margin: 0 auto;
	line-height: 0;
}


.step-card-wrapper {
	display: flex;
	justify-content: center;
	gap: 1em;
	max-width: 850px;
	margin: 3em auto;
}

.step-card {
	flex: 1;
	padding: 30px 30px 50px 30px;
	border-radius: 30px;
	background-color: #fff;
	text-align: center;
	position: relative;
	font-size: 0.8em;
}

.step-num {
	font-family: "Marcellus", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 48px;
	line-height: 60px;
	color: #D71518;
}

h3 {
	font-weight: 600;
	font-size: 1.3em;
	margin-bottom: 1em;
}

.step-mark {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 190px;
	height: 40px;
	background: #FFD203;
	border-radius: 40px;
	padding: 0.5em;
	font-size: 0.8em;
	font-weight: 600;
	position: absolute;
	bottom: -20px;
	right: 0;
	left: 0;
	margin: 0 auto;
}

/* 他社の違い（グリッド表示） */
.comparison {
	background: #f0f4f8;
	text-align: center;
	max-width: 900px;
	margin: 0 auto 2em auto;
}

.comparison h2 {
	margin-bottom: 2em;
	line-height: 2em;
}

.comparison h2 img {
	width: 200px;
	height: auto;
	margin-bottom: -1em;
}

.comparison-content {
	background-color: #fff;
	padding: 1em;
	margin: 0 auto 2em auto;
	display: flex;
	justify-content: flex-start;
	text-align: center;
	gap: 1em;
}


.comparison-num {
	font-family: "Marcellus", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 48px;
	line-height: 60px;
	color: #D71518;
}

.text-node {
	width: 70%;
	display: flex;
	justify-content: flex-start;
	gap: 1em;
	text-align: left;
	background: #fff;
	padding: 15px;
}

.text-node-child p {
	font-size: 0.8em;
}

.text-node-child p.text-node-h {
	font-size: 1.3em;
	font-weight: 600;
	margin-bottom: 1em;
}


.image-node {
	width: 50%;
	background: #fff;
	padding: 15px;
	font-size: 0.9rem;
}

/* ASK */
.ask {
	padding: 5rem 2rem;
	text-align: center;
	background-color: #FCF7E2;
}

.ask-content {
	max-width: 100%;
	padding: 0;
	margin: 0 auto 3rem auto;
	border: 1px solid #B4B4B4;
	background-color: #fff;
}

.ask-content-q {
	padding: 10px 20px;
	margin: 0;
	position: relative;
	font-size: 1.2em;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: all 0.5s;
}

.ask-content-q:hover {
	background-color: #FFD203;
}

.ask-content-q.is-active {
	background-color: #FFD203;
}

.ask-content-q i {
	position: absolute;
	right: 20px;
	transition: transform 0.5s;
}

.ask-content-q.is-active i {
	transform: rotate(180deg);
}

.ask-content-a {
	padding: 2em;
	display: none;
}

ul {
	list-style: none;
	padding-left: 10px;
	text-align: left;
	margin-bottom: 2em;
}

li {
	padding: 0;
	margin: 0 0 1em 0;
	display: flex;
	justify-content: flex-start;
	align-items: start;
}

li::before {
	font-family: "bootstrap-icons";
	content: "\F26C";
	color: #FFD203;
	margin-right: 10px;
	height: 100%;
}

/* Achievement */
.features2 {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-bottom: 0;
}

.achievement {
	width: 200px;
	min-height: 200px;
	display: flex;
	flex-flow: column;
	align-items: center;
	background-color: #fff;
	padding: 2em 1em;
	border-radius: 30px;
	text-align: center;
}

.achievement p {
	flex: 1;
}


/* FLOW */
.flow {
	position: relative;
}

.flow h2 {
	padding: 1em;
	margin: 0;
	font-size: 2em;
	color: #fff;
	background-color: #D71518;
	text-align: center;
}

.flow-content {
	border: 1px solid #BEBEBE;
	padding: 0;
	margin: 0 auto 2em auto;
	max-width: 850px;
}

.flow-content-h {
	background-color: #B42F31;
	padding: 0.5em 1em;
	text-align: left;
	color: #fff;
	font-size: 1.5em;
	font-weight: 600;
	margin-bottom: 0;
}



/* commission */
.commission h2 {
	padding: 1em;
	margin: 0;
	font-size: 2em;
	color: #fff;
	background-color: #D71518;
	text-align: center;
}

table {
	width: 100%;
	margin: 0 auto 2em auto;
	border: 1px solid #B4B4B4;
	font-size: 1em;
}

table tr th {
	padding: 1em 3em;
	border-right: 1px solid #B4B4B4;
	border-bottom: 1px solid #B4B4B4;
	background-color: #B42F31;
	color: #fff;
}

table tr td {
	padding: 1em 3em;
	border-right: 1px solid #B4B4B4;
	border-bottom: 1px solid #B4B4B4;
	background-color: #fff;
}

table tr td:first-child {
	background-color: #eee;
}

.commission-note {
	display: flex;
	justify-content: flex-end;
	align-items: end;
}

/* FAQ */
.faq h2 {
	padding: 1em;
	margin: 0;
	font-size: 2em;
	background-color: #FFD203;
	text-align: center;
}

.faq dl {
	margin-bottom: 2em;
}

.faq dt {
	font-weight: bold;
	padding: 10px;
	margin-top: 10px;
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	font-size: 1.3em;
	font-weight: 600;
}

.faq dt p,
.faq dd p {
	display: flex;
	justify-content: center;
	align-items: center;
}

.faq dt p.point {
	width: 30px;
	height: 30px;
	margin-right: 0.5em;
	padding: 5px;
	background-color: #D71518;
	border-radius: 100px;
	color: #fff;
	line-height: 1em;
}

.faq dd {
	margin: 0;
	padding: 30px;
	background-color: #FCF7E2;
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	border-radius: 20px;
}

.faq dd p.point {
	width: 60px;
	height: 30px;
	margin-right: 0.5em;
	padding: 5px;
	background-color: #fff;
	border-radius: 100px;
	font-size: 1.3em;
	font-weight: 600;
	line-height: 1em;
	display: flex;
	justify-content: center;
}

/* footer */
footer {
	width: 100%;
	padding: 0;
	margin: 0;
}

footer h2 {
	flex: 1;
	font-size: 2em;
	color: #fff;
	text-align: center;
}

footer .btn-tel {
	width: 320px;
	background: #FFD203;
	border-radius: 18px;
	display: flex;
	flex-flow: column;
	align-items: center;
	padding: 1em;

}

footer .btn-tel a,
footer .btn-contact a {
	text-decoration: none;
	color: unset;
	display: block;
	width: 100%;
}

footer .btn-tel P {
	font-size: 20px;
	font-weight: 600;
	line-height: 160%;
	text-align: center;
	color: #333333;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

footer .btn-tel P i {
	color: #fff;
	background-color: #333;
	padding: 5px;
	width: 20px;
	height: 20px;
	border-radius: 100px;
	margin-right: 0.5em;
	font-size: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
}

footer .btn-tel P.line {
	border-bottom: 1px solid #333;
	padding-bottom: 0.3em;
	margin-bottom: 0.3em;
}

footer .btn-contact {
	width: 320px;
	background: #ffffff;
	border-radius: 18px;
	display: flex;
	flex-flow: column;
	align-items: center;
	padding: 1em;
	transition:all 0.3s;

}
footer .btn-contact:hover {
	background: #fff5ce;
}

footer .btn-contact a P {
	font-size: 20px;
	font-weight: 600;
	line-height: 160%;
	text-align: center;
	color: #D71518;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

footer .btn-contact a P i {
	color: #D71518;
	border: 1px solid #D71518;
	padding: 5px;
	width: 20px;
	height: 20px;
	border-radius: 100px;
	margin-right: 0.5em;
	font-size: 14px;
	display: flex;
	justify-content: center;
	align-items: center;
}

footer .btn-contact a P.line {
	border-bottom: 1px solid #D71518;
	padding-bottom: 0.3em;
	margin-bottom: 0.3em;
}

footer .cta {
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-direction: row-reverse;
	gap: 1em;
}

footer .cta figure {
	width: 300px;
	display: flex;
	justify-content: flex-end;
}
footer .copy{
	background: #000;
    color: #888;
    text-align: center;
    font-size: 12px;
    font-weight: 200;
	padding:5px;
}
.sp{display:none;}
/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* --- タブレット・小画面PCサイズ (850px以下) --- */
@media screen and (max-width: 850px) {
	.container {
		width: 100%;
		padding: 30px 5%;
	}

	.sp {
		display: inline;
	}

	/* ヒーローエリアの調整 */
	.h1-wrapper {
		left: 0;

		/* 斜めを解除して視認性確保 */
		width: 80%;
		margin: 0 auto 2em;
		padding: 1.5em 1em;
	}

	.h1-wrapper h1 {

		font-size: 1.8em;
	}

	.h1-wrapper h1 img {
		width: 180px;
		margin-bottom: -15px;
	}

	.mv-txt {
		font-size: 1.5em;
	}

	/* 特徴・ステップのカードを折り返し */
	.feature-wrapper,
	.step-card-wrapper {
		flex-direction: column;
		align-items: center;
		gap: 2em;
	}

	.feature-item,
	.step-card {
		width: 100%;
		max-width: 300px;
	}
	
	.image-node {width: 100%;}

	/* 他社の違いセクション */
	.comparison-content {
		flex-direction: column;
		align-items: center;
	}

	.row-reverse {
		flex-direction: column !important;
	}

	.ask {
		padding: 5rem 0.3rem;
	}

	.text-node {
		width: 100%;
	}

	/* テーブルの横スクロール対応
	.commission {
		overflow-x: auto;
	} */

	table {
		width: 100%;
		/* テーブルが潰れすぎないように */
	}

	/* フッターCTA */
	footer .cta {
		flex-direction: column;
		align-items: center;
	}

	footer .btn-tel,
	footer .btn-contact {
		width: 100%;
		max-width: 400px;
	}
}

/* --- TEL link active --- */
@media (min-width: 751px) {
	a[href^="tel:"] {
		pointer-events: none;
		cursor: default;
	}
}


/* --- スマートフォンサイズ (500px以下) --- */
@media screen and (max-width: 500px) {
	body {
		font-size: 14px;
	}
	.sp{display:inline-block;}

	.h1-wrapper {
		padding: 1em 1em 3em 1em;
		margin-bottom: 3em;
	}


	.h1-wrapper h1 {
		font-size: 1.5em;
	}

	.h1-wrapper h1 em {
		font-size: 1.5em;
		font-weight: 700;
		margin-bottom: 0.5em;
	}

	.h1-wrapper h1 img {
		width: 150px;
		height: auto;
		margin-bottom: -30px;
	}

	h2 {
		font-size: 24px;
	}

	.font-size3em {
		font-size: 2em;
	}

	.font-size2em {
		font-size: 1.5em;
	}

	/* メインビジュアルのテキスト */
	.mv-txt {
		font-size: 1.2em;
		padding: 0.5em;
	}
	.feature-item figure {
		position:relative;
		bottom:0;
	}

	/* フォーム/セクションの余白調整 */
	.bg-red {
		padding: 2em 1em;
	}

	.faq dt {
		font-size: 1.1em;
	}

	.faq dd {
		padding: 20px;
	}

	/* 実績セクション */
	.flex-center {
		gap: 1em;
	}
	.ask-content-a {
		padding: 1em;
	}

	.achievement {
		width: 45%;
		/* 横に2つ並べる場合 */
		padding: 1em 0.5em;
	}

	/* テーブルのパディング調整 */
	table tr th,
	table tr td {
		padding: 0.8em 1em;
	}
}

/* --- 超小型スマートフォン (320px以下) --- */
@media screen and (max-width: 320px) {
	.h1-wrapper h1 {
		font-size: 1.4em;
	}

	.mv-txt {
		font-size: 1.1em;
	}

	.feature-item ul {
		font-size: 0.75em;
		margin-left: 15px;
	}


	.achievement {
		width: 100%;
		/* 縦一列に */
	}

	footer .btn-tel P,
	footer .btn-contact P {
		font-size: 16px;
	}
}