/*
 * Regular static pages only.
 * The front page, archives, and posts do not receive these styles.
 */

body.ame-standard-page,
.ame-standard-page .l-content {
	background-color: #f5f5f5;
}

.ame-standard-page #top_title_area {
	align-items: stretch;
	min-height: 0;
	padding: 0;
	margin: 0 0 clamp(64px, 8.5vw, 108px);
	overflow: visible;
	border-bottom: 1px solid #dcdcdc;
	background: transparent !important;
	text-align: left;
}

.ame-standard-page #top_title_area::before,
.ame-standard-page #top_title_area::after {
	content: none;
}

.ame-standard-page #top_title_area .p-topArea__body {
	display: flex;
	align-items: flex-end;
	width: 100%;
	max-width: calc(var(--ark-width--container) + (var(--ark-padding--container) * 2));
	min-height: 166px;
	padding-right: var(--ark-padding--container);
	padding-left: var(--ark-padding--container);
	margin: 0 auto;
	color: var(--ame-header-text, #282828);
	text-align: left;
	text-shadow: none;
}

.ame-standard-page #top_title_area .p-topArea__title {
	width: 100%;
	margin: 0;
	text-align: left;
}

.ame-standard-page #top_title_area .c-pageTitle__main {
	padding: 0;
	margin: 0;
	background: transparent !important;
	box-shadow: none;
	color: var(--ame-header-text, #282828);
	font-family: var(--ame-header-font, "Noto Sans JP", sans-serif);
	font-size: clamp(36px, 4.2857vw, 54px);
	font-weight: 700;
	line-height: 1.7;
	letter-spacing: .02em;
	text-align: left;
	text-shadow: none;
}

.ame-standard-page #top_title_area .c-pageTitle__sub,
.ame-standard-page #top_title_area .p-topArea__excerpt,
.ame-standard-page #top_title_area .p-topArea__img,
.ame-standard-page .p-breadcrumb {
	display: none !important;
}

.ame-standard-page .l-content__body {
	margin-top: 0;
}

.ame-standard-page .p-page__content h2 {
	padding-bottom: clamp(14px, 2vw, 18px);
	border-bottom: 1px solid rgb(35 31 32 / 20%);
	scroll-margin-top: 120px;
}

/*
 * Contact Form 7.
 * Based on the measured proportions of the referenced contact form, while
 * retaining this site's typography and focus color.
 */
.ame-standard-page .wpcf7 {
	width: 100%;
	max-width: 580px;
	margin-right: auto;
	margin-left: auto;
	font-family: var(--ame-header-font, "Noto Sans JP", sans-serif);
	color: #2d2d2d;
}

.ame-standard-page .wpcf7 form {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: .08em;
}

.ame-standard-page .wpcf7 form > p {
	margin: 0 0 48px;
}

.ame-standard-page .wpcf7 form > p:last-of-type {
	margin-bottom: 0;
	text-align: center;
}

.ame-standard-page .wpcf7 label {
	display: block;
	margin: 0;
	color: #2d2d2d;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .08em;
}

.ame-standard-page .wpcf7 .wpcf7-form-control-wrap {
	display: block;
	margin-top: 7px;
}

.ame-standard-page .wpcf7 input[type="text"],
.ame-standard-page .wpcf7 input[type="email"],
.ame-standard-page .wpcf7 input[type="tel"],
.ame-standard-page .wpcf7 textarea {
	display: block;
	width: 100%;
	max-width: none;
	padding: 12px;
	margin: 0;
	border: 1px solid #c4c4c4;
	border-radius: 2px;
	outline: 0;
	background-color: #fff;
	box-shadow: none;
	color: #2d2d2d;
	font-family: var(--ame-header-font, "Noto Sans JP", sans-serif);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: .04em;
	transition: border-color .25s ease, box-shadow .25s ease;
	box-sizing: border-box;
}

.ame-standard-page .wpcf7 input[type="text"],
.ame-standard-page .wpcf7 input[type="email"],
.ame-standard-page .wpcf7 input[type="tel"] {
	height: 50px;
}

.ame-standard-page .wpcf7 textarea {
	min-height: 200px;
	height: 200px;
	resize: vertical;
}

.ame-standard-page .wpcf7 input[type="text"]:focus,
.ame-standard-page .wpcf7 input[type="email"]:focus,
.ame-standard-page .wpcf7 input[type="tel"]:focus,
.ame-standard-page .wpcf7 textarea:focus {
	border-color: #8031d0;
	box-shadow: 0 0 0 3px rgb(128 49 208 / 12%);
}

.ame-standard-page .wpcf7 input[type="submit"] {
	display: inline-block;
	width: min(204px, 100%);
	height: 56px;
	padding: 16px 28px;
	margin: 0;
	border: 0;
	border-radius: 999px;
	background: #8031d0;
	box-shadow: none;
	color: #fff;
	font-family: var(--ame-header-font, "Noto Sans JP", sans-serif);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .1em;
	text-align: center;
	cursor: pointer;
	transition: background-color .25s ease, transform .25s ease;
	box-sizing: border-box;
}

.ame-standard-page .wpcf7 input[type="submit"]:hover,
.ame-standard-page .wpcf7 input[type="submit"]:focus-visible {
	background-color: #6920b7;
	transform: translateY(-2px);
}

.ame-standard-page .wpcf7 input[type="submit"]:focus-visible {
	outline: 3px solid rgb(128 49 208 / 28%);
	outline-offset: 3px;
}

.ame-standard-page .wpcf7 .wpcf7-spinner {
	display: block;
	margin: 12px auto 0;
}

.ame-standard-page .wpcf7 .wpcf7-not-valid-tip {
	margin-top: 7px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: .04em;
}

.ame-standard-page .wpcf7 form .wpcf7-response-output {
	padding: 16px 18px;
	margin: 32px 0 0;
	border-width: 1px;
	font-size: 14px;
	line-height: 1.8;
	letter-spacing: .04em;
}

@media (max-width: 800px) {
	.ame-standard-page #top_title_area {
		margin-bottom: 56px;
	}

	.ame-standard-page #top_title_area .p-topArea__body { min-height: 132px; }

	.ame-standard-page #top_title_area .c-pageTitle__main {
		font-size: clamp(28px, 8vw, 36px);
		line-height: 1.5;
	}

	.ame-standard-page .wpcf7 form > p {
		margin-bottom: 38px;
	}

	.ame-standard-page .wpcf7 textarea {
		min-height: 180px;
		height: 180px;
	}
}
