@charset "utf-8";

:root {
	--ink: #49392c;
	--muted: #75685a;
	--paper: #fbf7ec;
	--cream: #f3ead5;
	--green: #596c3d;
	--deep: #3d512a;
	--orange: #dd7d42;
	--line: #d9ccb6;
	--white: #fffdf7;
}

* { box-sizing: border-box; }
html { min-height: 100%; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	min-height: 100vh;
	padding: 42px 20px 64px;
	background:
		radial-gradient(circle at 8% 5%, rgba(221,125,66,.11) 0 70px, transparent 71px),
		radial-gradient(circle at 92% 16%, rgba(89,108,61,.10) 0 105px, transparent 106px),
		linear-gradient(180deg, #f7f0df 0%, var(--paper) 45%, #f1ead8 100%);
	color: var(--ink);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
	line-height: 1.9;
}

a { color: inherit; }
button, input, textarea, select { font: inherit; }

#wrapper {
	width: min(880px, 100%);
	margin: 0 auto;
	overflow: hidden;
	background: rgba(255,253,247,.96);
	border: 1px solid rgba(217,204,182,.85);
	border-radius: 30px;
	box-shadow: 0 24px 70px rgba(73,57,44,.10);
}

.form_header {
	padding: 23px 38px;
	border-bottom: 1px solid var(--line);
	background: rgba(251,247,236,.9);
}

.form_brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	text-decoration: none;
}
.form_brand_mark {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border-radius: 50%;
	background: var(--cream);
	transition: transform .25s ease, background .25s ease;
}
.form_brand_mark::before,
.css_sprout {
	position: relative;
	display: block;
	width: 3px;
	height: 20px;
	border-radius: 3px;
	background: var(--green);
}
.form_brand_mark::before { content: ""; }
.form_brand_mark::after,
.css_sprout::before,
.css_sprout::after {
	content: "";
	position: absolute;
	width: 13px;
	height: 9px;
	border-radius: 100% 0 100% 0;
	background: #789653;
}
.form_brand_mark::after {
	margin: -9px 0 0 10px;
	transform: rotate(-12deg);
}
.form_brand_mark::before {
	box-shadow: none;
}
.form_brand_mark span { display: none; }
.css_sprout::before { right: 1px; top: 1px; transform: rotate(20deg); transform-origin: right bottom; }
.css_sprout::after { left: 1px; top: 5px; transform: scaleX(-1) rotate(20deg); transform-origin: left bottom; }
.form_brand_mark {
	background-image:
		radial-gradient(ellipse 12px 8px at 17px 18px, #789653 97%, transparent 100%),
		radial-gradient(ellipse 12px 8px at 31px 15px, #789653 97%, transparent 100%);
}
.form_brand:hover .form_brand_mark { transform: translateY(-3px) rotate(-7deg); background: #e8efd9; }
.form_brand strong, .form_brand small { display: block; }
.form_brand strong { font-size: 17px; letter-spacing: .1em; }
.form_brand small {
	margin-top: 2px;
	color: var(--muted);
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-size: 10px;
	letter-spacing: .05em;
}

#main { padding: 66px 72px 46px; }
.section { margin: 0; }
.section__eyebrow {
	margin: 0 0 8px;
	color: var(--green);
	font-family: Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .22em;
	text-align: center;
}
.section__ttl {
	margin: 0 0 38px;
	padding: 0;
	color: var(--ink);
	font-size: clamp(28px, 4.6vw, 43px);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: .06em;
	text-align: center;
}
.section__body { padding: 0; }

#txt_explain {
	margin: 0 auto 30px;
	color: var(--muted);
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-size: 14px;
	text-align: center;
}
#txt_explain p { margin: 0 0 5px; }
.required_note { font-size: 12px; }
.required_note span, .red_txt { color: #b55542; }
.red_txt {
	margin-bottom: 20px;
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-size: 13px;
}

.table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border-top: 1px solid var(--line);
}
.table th, .table td {
	padding: 22px 18px;
	border: 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}
.table th {
	width: 31%;
	background: rgba(243,234,213,.55);
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .03em;
}
.table td {
	background: transparent;
	color: var(--ink);
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
	width: 100% !important;
	max-width: 100%;
	padding: 13px 15px;
	border: 1px solid #cfc3ae;
	border-radius: 10px;
	background: #fffefa;
	color: var(--ink);
	box-shadow: inset 0 1px 2px rgba(73,57,44,.04);
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
textarea { min-height: 170px; resize: vertical; }
select { min-height: 48px; }
input:focus, textarea:focus, select:focus {
	border-color: var(--green);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(89,108,61,.11);
}
input[type="radio"], input[type="checkbox"] {
	width: 17px;
	height: 17px;
	margin-right: 6px;
	accent-color: var(--green);
	vertical-align: -3px;
}
label { cursor: pointer; }

.button_box {
	display: flex;
	clear: both;
	justify-content: center;
	gap: 12px;
	padding: 36px 8px 8px;
	text-align: center;
}
input[type="submit"], .home_button {
	display: inline-flex;
	min-width: 230px;
	min-height: 56px;
	align-items: center;
	justify-content: center;
	padding: 13px 28px;
	border: 1px solid var(--green);
	border-radius: 999px;
	background: var(--green);
	color: #fff;
	font-weight: 700;
	letter-spacing: .06em;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}
input[type="submit"]:hover, .home_button:hover {
	transform: translateY(-3px);
	background: var(--deep);
	box-shadow: 0 10px 22px rgba(61,81,42,.18);
}
input[type="submit"]:focus-visible, .home_button:focus-visible, .back_link a:focus-visible {
	outline: 3px solid rgba(221,125,66,.42);
	outline-offset: 3px;
}
input[type="submit"].button_secondary {
	border-color: var(--line);
	background: transparent;
	color: var(--ink);
}
input[type="submit"].button_secondary:hover { background: var(--cream); box-shadow: none; }

.back_link { margin-top: 24px; text-align: center; }
.back_link a {
	display: inline-block;
	color: var(--green);
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-underline-offset: 5px;
	transition: opacity .2s ease;
}
.back_link a:hover { opacity: .68; }

.complete_section { padding: 8px 0 22px; text-align: center; }
.complete_mark {
	display: grid;
	width: 86px;
	height: 86px;
	margin: 0 auto 22px;
	place-items: center;
	border-radius: 50%;
	background: #e8efd9;
	animation: sproutIn .8s cubic-bezier(.2,.8,.2,1) both;
}
.complete_mark .css_sprout { width: 4px; height: 34px; }
.complete_mark .css_sprout::before,
.complete_mark .css_sprout::after { width: 23px; height: 15px; }
.complete_section .section__ttl { margin-bottom: 25px; }
.complete_section #txt_explain { font-size: 15px; }
@keyframes sproutIn {
	from { opacity: 0; transform: translateY(18px) scale(.84); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 700px) {
	body { padding: 0; background: var(--paper); }
	#wrapper { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
	.form_header { padding: 16px 20px; }
	.form_brand_mark { width: 42px; height: 42px; font-size: 21px; }
	.form_brand strong { font-size: 15px; }
	#main { padding: 45px 20px 38px; }
	.section__ttl { margin-bottom: 28px; font-size: 28px; }
	#txt_explain { margin-bottom: 24px; text-align: left; }
	.table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
	.table { border-top: 0; }
	.table tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
	.table th, .table td { padding: 0; border: 0; background: transparent; }
	.table th { margin-bottom: 9px; }
	.button_box, .confirm_buttons { flex-direction: column; padding-top: 30px; }
	input[type="submit"], .home_button { width: 100%; min-width: 0; }
	.confirm_buttons .button_secondary { order: 2; }
	.complete_section { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}