.yoyakuform {
	margin-bottom: 1.5em;
	padding: 1.25em 1em;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	font-size: 16px;
	line-height: 1.7;
}

#main .yoyakuform h3.contactTitle {
	margin: 0 0 1.25em !important;
	padding: 0 !important;
	background: none;
	color: inherit;
	font-size: 20px !important;
	font-weight: bold;
}

.yoyakuform h4 {
	margin: 0 0 .5em;
	font-size: 1em;
	font-weight: bold;
}

/* style-o.css の #main p への !important の余白を打ち消す */
#main .yoyakuform p {
	margin: 0 0 .5em !important;
	padding: 0 !important;
}

.yoyakuform .required {
	margin-left: .25em;
	color: #d00;
	font-size: .8em;
}

.yoyakuform .lpy-form-group {
	margin-bottom: 1.75em;
}

.yoyakuform .lpy-form-group:last-child {
	margin-bottom: 0;
}

/* iOS は 16px 未満の入力欄で画面を自動ズームするので、16px を下回らせない */
.yoyakuform input[type="text"],
.yoyakuform select {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 48px;
	padding: .6em .75em;
	border: 1px solid #888;
	border-radius: 4px;
	background-color: #fff;
	color: #222;
	font-size: 16px;
	line-height: 1.4;
}

.yoyakuform select {
	white-space: normal;
}

.yoyakuform .osechi-qty {
	display: flex;
	align-items: center;
	gap: .5em;
}

.yoyakuform .osechi-qty select {
	width: auto;
	min-width: 11em;
	white-space: nowrap;
}

.yoyakuform .osechi-note {
	color: #c00;
	font-weight: bold;
}

.yoyakuform .osechi-hint {
	color: #555;
	font-size: .9em;
}

.yoyakuform .error {
	display: block;
	margin-top: .4em;
	color: #c00;
	font-weight: bold;
}

.yoyakuform .has-error input[type="text"],
.yoyakuform .has-error select {
	border: 2px solid #c00;
	background-color: #fff5f5;
}

.yoyakuform .bento-list {
	padding-left: 1.5em;
	padding-right: 0;
}

.yoyaku-submit-box {
	padding: .5em 0 2em;
	text-align: center;
}

.yoyaku-submit-note {
	margin-bottom: 1em;
	font-weight: bold;
}

.yoyaku-submit-box input.yoyaku-submit {
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	min-height: 60px;
	border: 0;
	border-radius: 6px;
	background: #2e7d32;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
}

.yoyaku-submit-box input.yoyaku-submit.is-sending {
	background: #888;
	cursor: wait;
}

.yasai-osechi-message {
	margin: 1.5em 0;
	padding: 1.25em;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fafafa;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}

/* フォームの上の紹介（固定ページの本文。deploy/osechi-page.html） */
#main .osechi-photo {
	margin: 0 auto 1.5em;
	max-width: 560px;
}

#main .osechi-photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

#main p.osechi-catch {
	margin-bottom: 1em !important;
	color: #8b2329;
	font-size: 17px;
	line-height: 1.8;
	text-align: center;
}

#main p.osechi-catch strong {
	font-size: 20px;
}

#main p.osechi-lead {
	margin-bottom: 2em !important;
	font-size: 16px;
	line-height: 1.9;
}

#main h3.osechi-heading {
	margin: 2em 0 .75em;
	padding: .3em .6em;
	border-left: 5px solid #2e7d32;
	background: #f3f6f0;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.5;
}

#main .osechi-info {
	margin: 0 0 1em;
}

#main .osechi-info table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.7;
}

#main .osechi-info th,
#main .osechi-info td {
	padding: .6em .75em;
	border: 1px solid #ccc;
	text-align: left;
	vertical-align: top;
}

#main .osechi-info th {
	width: 6.5em;
	background: #fafafa;
	white-space: nowrap;
}

#main .osechi-info strong {
	color: #c00;
}

#main .osechi-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .3em 1.5em;
	margin: 0 0 1em;
	padding: 0 1em 0 2.25em;
	font-size: 15px;
	line-height: 1.6;
}

#main .osechi-menu li {
	list-style: disc outside;
}

#main p.osechi-small {
	color: #555;
	font-size: 14px;
	line-height: 1.8;
}

@media (max-width: 600px) {
	#main .osechi-menu {
		grid-template-columns: 1fr;
	}

	#main .osechi-info th,
	#main .osechi-info td {
		display: block;
		width: auto;
	}

	#main .osechi-info th {
		border-bottom: 0;
	}

	#main .osechi-info tr + tr th {
		border-top: 0;
	}
}
