@charset "UTF-8";

/* =========================================================
   お申し込みフォーム
   - LPの既存トーン（#966D1E / #1D9B7E / 游明朝）に合わせて作成
   - .entry-section 配下にスコープしてサイト他要素と衝突しない
   ========================================================= */

.entry-section {
	padding: 7.3rem 2rem 9rem;
	background: #FAF7F1;
}
.entry-section .entry-inner {
	max-width: 80rem;
	margin: 0 auto;
}
.entry-section h2 {
	text-align: center;
	font-size: 2rem;
	color: #966D1E;
	letter-spacing: .05em;
	line-height: 1.95;
	font-weight: 500;
	margin-bottom: 1.6rem;
}
.entry-section h2 .en {
	display: block;
	font-size: 1.4rem;
	letter-spacing: .15em;
	color: #966D1E;
	margin-bottom: .8rem;
	font-weight: 400;
}
.entry-section .entry-lead {
	text-align: center;
	font-size: 1.4rem;
	letter-spacing: .05em;
	line-height: 2;
	margin-bottom: 4.4rem;
	color: #555;
}

/* ----- ステップインジケーター ----- */
.entry-section .step-indicator {
	display: flex;
	justify-content: center;
	gap: 0;
	padding: 0;
	margin: 0 auto 4rem;
	max-width: 48rem;
	counter-reset: step;
}
.entry-section .step-indicator li {
	flex: 1;
	text-align: center;
	font-size: 1.2rem;
	color: #c9b986;
	position: relative;
	padding-top: 4.6rem;
	letter-spacing: .1em;
	font-weight: 500;
}
.entry-section .step-indicator li::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	top: 0; left: 50%;
	transform: translateX(-50%);
	width: 3.4rem; height: 3.4rem;
	border-radius: 50%;
	background: #E5DCC5;
	color: #fff;
	font-family: "Libre Baskerville", serif;
	font-size: 1.5rem;
	line-height: 3.4rem;
	font-weight: 400;
}
.entry-section .step-indicator li::after {
	content: "";
	position: absolute;
	top: 1.7rem;
	left: calc(50% + 1.7rem);
	width: calc(100% - 3.4rem);
	height: 1px;
	background: #E5DCC5;
}
.entry-section .step-indicator li:last-child::after { display: none; }
.entry-section .step-indicator li.is-active { color: #966D1E; }
.entry-section .step-indicator li.is-active::before { background: #966D1E; }
.entry-section .step-indicator li.is-done    { color: #966D1E; }
.entry-section .step-indicator li.is-done::before { background: #966D1E; }
.entry-section .step-indicator li.is-done::after  { background: #966D1E; }

/* ----- 画面切替 ----- */
.entry-form .screen { display: none; }
.entry-form .screen.is-active {
	display: block;
	animation: entryFadeIn .3s ease;
}
@keyframes entryFadeIn {
	from { opacity: 0; transform: translateY(.8rem); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ----- フォーム項目 ----- */
.entry-form .formlist {
	margin: 0 0 3rem;
	border-top: 1px solid #E5E2DE;
}
.entry-form .formlist dt {
	padding: 2rem 0 .8rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #4a4133;
	display: flex;
	align-items: center;
	gap: .8rem;
	letter-spacing: .05em;
}
.entry-form .formlist dt.need::after,
.entry-form .formlist dt.will::after {
	display: inline-block;
	padding: .3rem .9rem;
	color: #fff;
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: .05em;
	border-radius: .2rem;
	line-height: 1;
}
.entry-form .formlist dt.need::after {
	content: "必須";
	background: #966D1E;
}
.entry-form .formlist dt.will::after {
	content: "任意";
	background: #b9b1a4;
}
.entry-form .formlist dd {
	margin: 0;
	padding: 0 0 2rem;
	border-bottom: 1px solid #E5E2DE;
}
.entry-form .formlist dd p { margin: 0; }
.entry-form .formlist .cap {
	margin-top: .8rem;
	font-size: 1.2rem;
	color: #888;
	line-height: 1.7;
}

/* ----- 入力フィールド ----- */
.entry-form input[type="text"],
.entry-form input[type="tel"],
.entry-form input[type="email"],
.entry-form input[type="date"],
.entry-form select,
.entry-form textarea {
	width: 100%;
	padding: 1.2rem 1.4rem;
	border: 1px solid #d6cfc2;
	border-radius: .3rem;
	background: #fff;
	font-size: 1.5rem;
	font-family: inherit;
	color: #333;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none;
	appearance: none;
}
.entry-form input:focus,
.entry-form select:focus,
.entry-form textarea:focus {
	outline: none;
	border-color: #966D1E;
	box-shadow: 0 0 0 .3rem rgba(150, 109, 30, .12);
}
.entry-form textarea {
	min-height: 12rem;
	resize: vertical;
	line-height: 1.7;
}
.entry-form input.is-error,
.entry-form select.is-error,
.entry-form textarea.is-error {
	border-color: #c6483b;
	background: #fff7f6;
}

/* select の右側矢印（appearance:none を補う） */
.entry-form select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23966D1E' d='M0 0l6 8 6-8z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 1.4rem center;
	padding-right: 4rem;
	cursor: pointer;
}

/* date input のカレンダーアイコン */
.entry-form input[type="date"] {
	cursor: pointer;
}
.entry-form input[type="date"]::-webkit-calendar-picker-indicator {
	cursor: pointer;
	opacity: .6;
}

/* 日付＋時間 / 年＋月の横並び */
.entry-form .datetime-row {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}
.entry-form .datetime-row > * {
	flex: 1;
	min-width: 14rem;
}
.entry-form .error-msg {
	display: none;
	margin-top: .6rem;
	color: #c6483b;
	font-size: 1.2rem;
}
.entry-form .error-msg.is-show { display: block; }

/* ----- ラジオボタン（会場選択） ----- */
.entry-form .venue-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}
.entry-form .venue-list li { margin: 0; }
.entry-form .venue-list .venue-list-full { grid-column: 1 / -1; }
.entry-form .venue-list label {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.4rem 1.6rem;
	border: 1px solid #d6cfc2;
	border-radius: .3rem;
	background: #fff;
	cursor: pointer;
	font-size: 1.4rem;
	font-weight: 500;
	color: #4a4133;
	letter-spacing: .03em;
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.entry-form .venue-list label:has(input:checked) {
	border-color: #966D1E;
	background: #FAF7F1;
	box-shadow: 0 0 0 .1rem #966D1E inset;
}
@media (hover: hover) {
	.entry-form .venue-list label:hover { border-color: #966D1E; }
}
.entry-form .venue-list input[type="radio"] {
	flex-shrink: 0;
	width: 1.8rem;
	height: 1.8rem;
	margin: 0;
	accent-color: #966D1E;
	cursor: pointer;
}
@media only screen and (max-width: 768px) {
	.entry-form .venue-list { grid-template-columns: 1fr; gap: .8rem; }
	.entry-form .venue-list label { padding: 1.2rem 1.4rem; font-size: 1.4rem; }
}

/* ----- 注意書き ----- */
.entry-form .noticelist {
	list-style: none;
	margin: 2.4rem 0;
	padding: 2rem;
	background: #fff;
	border: 1px solid #E5E2DE;
	border-radius: .3rem;
	font-size: 1.3rem;
	line-height: 1.85;
	color: #5a5040;
}
.entry-form .noticelist li {
	position: relative;
	padding-left: 1em;
	margin-bottom: .8rem;
}
.entry-form .noticelist li::before {
	content: "・";
	position: absolute; left: 0;
}
.entry-form .noticelist li:last-child { margin-bottom: 0; }
.entry-form .noticelist a {
	color: #966D1E;
	text-decoration: underline;
}

/* ----- 同意チェック ----- */
.entry-form .agree {
	text-align: center;
	margin: 2.8rem 0;
	font-size: 1.4rem;
}
.entry-form .agree label {
	display: inline-flex;
	align-items: center;
	gap: .8rem;
	cursor: pointer;
	font-weight: 500;
	color: #4a4133;
}
.entry-form .agree input[type="checkbox"] {
	width: 1.8rem;
	height: 1.8rem;
	accent-color: #966D1E;
	cursor: pointer;
}

/* ----- ボタンエリア ----- */
.entry-form .send {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.6rem;
	margin-top: 3.2rem;
	flex-wrap: wrap;
}
.entry-form .send p { margin: 0; }
.entry-form button {
	appearance: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	letter-spacing: .1em;
	transition: opacity .25s, transform .1s;
}
.entry-form button:active { transform: translateY(1px); }

.entry-form .btn-next,
.entry-form .btn-submit {
	display: inline-block;
	min-width: 32.1rem;
	padding: 1.9rem 2rem 2rem;
	background: #2DAF8F;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: .05em;
	box-shadow: 0 .3rem .6rem rgba(0, 0, 0, .16);
	border-radius: 0;
}
.entry-form .btn-back {
	display: inline-block;
	min-width: 18rem;
	padding: 1.6rem 2rem;
	background: #fff;
	color: #966D1E;
	border: 1px solid #966D1E;
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: .05em;
}
@media (hover: hover) {
	.entry-form .btn-next:hover,
	.entry-form .btn-submit:hover { opacity: .8; }
	.entry-form .btn-back:hover   { background: #FAF7F1; }
}
.entry-form button:disabled { opacity: .4; cursor: not-allowed; }

/* ----- 確認画面 ----- */
.entry-form .confirm-list dd {
	font-size: 1.5rem;
	color: #333;
	white-space: pre-wrap;
	word-break: break-word;
	min-height: 1em;
	line-height: 1.7;
}
.entry-form .confirm-list dd.is-empty { color: #b9b1a4; }
.entry-form .confirm-list dd.is-empty::before { content: "（未入力）"; }
.entry-form .confirm-lead {
	text-align: center;
	margin: 0 0 2.4rem;
	color: #5a5040;
	font-size: 1.4rem;
	line-height: 1.9;
}

/* ----- 完了画面 ----- */
.entry-form .complete-message {
	text-align: center;
	padding: 6rem 1rem;
}
.entry-form .complete-message h3 {
	font-family: "Libre Baskerville", serif;
	font-size: 3.2rem;
	font-weight: 400;
	color: #966D1E;
	margin: 0 0 1.2rem;
	letter-spacing: .12em;
}
.entry-form .complete-message .lead {
	font-size: 1.7rem;
	color: #4a4133;
	margin-bottom: 2.4rem;
	font-weight: 700;
	letter-spacing: .05em;
}
.entry-form .complete-message p {
	margin: 0 0 1.2rem;
	line-height: 1.95;
	font-size: 1.4rem;
}

/* ----- 送信エラー ----- */
.entry-form .submit-error {
	display: none;
	margin: 1.6rem 0;
	padding: 1.4rem 1.6rem;
	background: #fff7f6;
	border: 1px solid #c6483b;
	color: #c6483b;
	border-radius: .3rem;
	font-size: 1.3rem;
	text-align: center;
}
.entry-form .submit-error.is-show { display: block; }

/* ----- 送信中ローディング ----- */
.entry-form.is-sending .btn-submit {
	position: relative;
	color: transparent;
}
.entry-form.is-sending .btn-submit::after {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	width: 1.8rem; height: 1.8rem;
	margin: -.9rem 0 0 -.9rem;
	border: 2px solid #fff;
	border-top-color: transparent;
	border-radius: 50%;
	animation: entrySpin .7s linear infinite;
}
@keyframes entrySpin { to { transform: rotate(360deg); } }

/* ----- レスポンシブ ----- */
@media only screen and (max-width: 768px) {
	.entry-section {
		padding: 5rem 1.6rem 6rem;
	}
	.entry-section h2 {
		font-size: 1.8rem;
		margin-bottom: 1.2rem;
	}
	.entry-section .entry-lead {
		font-size: 1.3rem;
		margin-bottom: 3rem;
	}
	.entry-section .step-indicator li {
		font-size: 1.1rem;
		padding-top: 4rem;
	}
	.entry-section .step-indicator li::before {
		width: 3rem; height: 3rem;
		line-height: 3rem;
		font-size: 1.3rem;
	}
	.entry-form .formlist dt { font-size: 1.4rem; padding: 1.6rem 0 .6rem; }
	.entry-form .formlist dd { padding-bottom: 1.6rem; }
	.entry-form input[type="text"],
	.entry-form input[type="tel"],
	.entry-form input[type="email"],
	.entry-form textarea { font-size: 1.6rem; }  /* iOSズーム防止 */
	.entry-form .send {
		flex-direction: column-reverse;
		gap: 1.2rem;
	}
	.entry-form .btn-next,
	.entry-form .btn-submit,
	.entry-form .btn-back {
		width: 100%;
		min-width: 0;
	}
	.entry-form .complete-message { padding: 4rem 1rem; }
	.entry-form .complete-message h3 { font-size: 2.6rem; }
}
