@charset "utf-8";
:root {
	/* Organic Color Palette */
	--color-bg-base: #f7f3e8;    /* クラフト紙のような背景 */
	--color-bg-section: #fffdf8; /* セクション用明るい背景 */
	--color-text-main: #3b2f2f;  /* 濃いこげ茶（黒の代わり） */
	--color-accent: #d96e40;     /* テラコッタオレンジ */
	--color-accent-hover: #c45b30;
	--color-green: #6c8c50;      /* アースグリーン */
	--color-yellow: #e6b840;     /* マスタードイエロー */
	--color-border: #3b2f2f;

	/* Typography */
	--font-family-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

	/* Design Tokens */
	--border-thick: 4px solid var(--color-border);
	--border-thin: 2px solid var(--color-border);
	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--shadow-solid: 4px 4px 0 var(--color-border);
	--shadow-solid-lg: 6px 6px 0 var(--color-border);
}

/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
	box-sizing: border-box;
	border-style: solid;
	border-width: 0;
}

/* Document */
/* ============================================ */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
* 3. Remove gray overlay on links for iOS.
*/
html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
	-webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */
/**
* Remove the margin in all browsers.
*/
body {
	margin: 0;
}

/**
* Render the `main` element consistently in IE.
*/
main {
	display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
	margin: 0;
}
.l-adswrapper {
	position: relative;
	width: 100%;
	max-width: 1130px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 90px;
	z-index: 1;
}

form.wpcf7-form.init {
	background-color: var(--color-bg-section);
	border: var(--border-thick);
	border-radius: var(--radius-md);
	padding: 24px;
	box-shadow: var(--shadow-solid);
}

aside.l-sidebar {
	width: 460px;
}

.services-main {
	max-width: 580px;
	padding-top: 0;
	margin: 0 auto;
}

.services-main figure img {
	max-width: 100%;
	height: auto;
}

.cheatsheet-wrapper {
	position: relative;
}

/*
.cheatsheet-wrapper::before,
.cheatsheet-wrapper::after {
content: "";
position: absolute;
width: 100%;
height: 4%;
z-index: 1;
}

.cheatsheet-wrapper::before {
top: 0;
left: 0;
background: linear-gradient(rgba(255,255,255,1),rgba(255,255,255,0));
}
.cheatsheet-wrapper::after {
bottom: 0;
left: 0;
background: linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));
}
*/

.services-main > a {
	display: flex;
}
.floating-button {
	position: fixed;
	width: 96%;
	max-width: 620px;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
}

.wpcf7 {
	padding-bottom: 1px;
}
.wpcf7-form {
	width: 90%;
	margin: 0 auto;
}
span.wpcf7-form-control-wrap {
	display: flex;
	width: 100%;
}

.wpcf7-text,
.wpcf7-textarea{
	width: 100%;
	padding: 12px;
	border: var(--border-thin)!important;
	border-radius: var(--radius-sm)!important;
	font-size: 16px;
	background-color: #fff!important;
}

input.wpcf7-form-control.wpcf7-submit {
	width: 100%;
	font-size: min(4vw, 21px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: var(--color-accent)!important;
	color: #fff;
	font-weight: 900;
	text-decoration: none;
	padding: 16px 24px;
	border: var(--border-thick)!important;
	border-radius: var(--radius-lg)!important;
	box-shadow: 0 6px 0 var(--color-border);
	transition: all 0.1s ease;
	cursor: pointer;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.form-title {
	font-size: min(4vw, 21px);
	font-weight: 900;
	text-align: center;
	margin-bottom: 24px;
	color: var(--color-accent);
}

.sidebar__sticky {
	position: sticky;
	top: 40px;
}



@media screen and ( max-width: 479px ) {
	.single-service {
		background-color: #fff;
	}
	.l-adswrapper {
		gap: 0;
	}
	aside.l-sidebar {
		padding: 20px 0;
		background-color: var(--color-green);
	}
}
