/**
 * Okayama AG Contact — form styles.
 * Colors follow the theme's --c-* variables when present (Okayama Fudousan AG theme), otherwise the defaults below.
 */
.oag-cf {
	--cf-charcoal: var(--c-charcoal, #242522);
	--cf-ivory: var(--c-ivory, #f5f2ec);
	--cf-white: var(--c-white, #fff);
	--cf-gold: var(--c-gold, #b8a788);
	--cf-gold-ink: var(--c-gold-ink, #7c6d51);
	--cf-greige: var(--c-greige, #d8d1c5);
	--cf-gray: var(--c-gray, #62615d);
	--cf-line: var(--c-line, rgba(36, 37, 34, .14));
	--cf-alert: var(--c-alert, #9b2c2c);
	--cf-radius: var(--radius, 2px);
	--cf-ease: var(--ease, cubic-bezier(.22, .61, .36, 1));
	--cf-serif: var(--f-serif, "Times New Roman", serif);
	--cf-en: var(--f-en, inherit);
}
:where(.oag-cf), :where(.oag-cf) *, :where(.oag-cf) *::before, :where(.oag-cf) *::after { box-sizing: border-box; }
:where(.oag-cf) :is(ol, ul) { list-style: none; margin: 0; padding: 0; }
:where(.oag-cf) :is(h2, h3, p, dl, dd, figure, fieldset) { margin: 0; }
:where(.oag-cf) :is(button, input, select, textarea) { font: inherit; color: inherit; }
.oag-cf { max-width: 900px; margin-inline: auto; }
.oag-cf [hidden] { display: none !important; }
.oag-cf__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Progress */
.oag-cf__progress { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto 44px; max-width: 640px; counter-reset: none; }
.oag-cf__progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: #a3a198; }
.oag-cf__progress li + li::before { content: ""; position: absolute; top: 18px; right: calc(50% + 26px); width: calc(100% - 52px); height: 1px; background: var(--cf-greige); }
.oag-cf__progress li.is-done + li::before, .oag-cf__progress li.is-done + li.is-current::before { background: var(--cf-gold); }
.oag-cf__progress-num {
	display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--cf-greige); border-radius: 50%;
	background: var(--cf-white); font-family: var(--cf-serif); font-size: 17px; line-height: 1; transition: all .3s var(--cf-ease);
}
.oag-cf__progress-label { font-size: 12.5px; letter-spacing: .14em; }
.oag-cf__progress .is-current { color: var(--cf-charcoal); }
.oag-cf__progress .is-current .oag-cf__progress-num { background: var(--cf-charcoal); border-color: var(--cf-charcoal); color: var(--cf-white); box-shadow: 0 0 0 5px rgba(184, 167, 136, .25); }
.oag-cf__progress .is-done { color: var(--cf-gold-ink); }
.oag-cf__progress .is-done .oag-cf__progress-num { background: var(--cf-gold); border-color: var(--cf-gold); color: var(--cf-white); }

/* Wizard panels */
.oag-cf.is-wizard [data-panel]:not(.is-active) { display: none; }
.oag-cf:not(.is-wizard) .oag-cf__nav--js { display: none !important; }
.oag-cf__panel { padding: clamp(28px, 5vw, 56px); background: var(--cf-white); border: 1px solid var(--cf-line); }
.oag-cf.is-wizard .oag-cf__panel.is-active { animation: cf-in .45s var(--cf-ease) both; }
@keyframes cf-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.oag-cf:not(.is-wizard) .oag-cf__panel + .oag-cf__panel { margin-top: 24px; }
.oag-cf .oag-cf__panel-title { margin-top: 0; padding: 0; border: 0; margin-bottom: 28px; font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 400; letter-spacing: .12em; text-align: center; outline: none; }
.oag-cf__lead { margin: -12px 0 32px; text-align: center; font-size: 14px; color: var(--cf-gray); }

/* Step 1: type cards */
.oag-cf__types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin-inline: auto; }
.oag-cf__types.is-error .oag-cf__type-inner { border-color: var(--cf-alert); }
.oag-cf__type { position: relative; cursor: pointer; }
.oag-cf__type input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.oag-cf__type-inner {
	position: relative; display: flex; align-items: center; gap: 16px; height: 100%; padding: 20px 18px;
	border: 1px solid var(--cf-greige); background: var(--cf-white); transition: border-color .25s, background-color .25s, transform .25s var(--cf-ease), box-shadow .25s;
}
.oag-cf__type:hover .oag-cf__type-inner { border-color: var(--cf-charcoal); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(36, 37, 34, .06); }
.oag-cf__type input:focus-visible + .oag-cf__type-inner { outline: 2px solid var(--cf-gold); outline-offset: 2px; }
.oag-cf__type input:checked + .oag-cf__type-inner { border-color: var(--cf-charcoal); background: var(--cf-ivory); box-shadow: inset 0 0 0 1px var(--cf-charcoal); }
.oag-cf__type input:checked + .oag-cf__type-inner::after {
	content: ""; position: absolute; top: 50%; right: 16px; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
	background: var(--cf-charcoal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center/14px no-repeat;
}
.oag-cf__type-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cf-ivory); color: var(--cf-gold-ink); transition: background-color .25s, color .25s; }
.oag-cf__type-icon svg { width: 24px; height: 24px; }
.oag-cf__type-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.oag-cf__type-title { font-size: 16px; font-weight: 500; letter-spacing: .04em; line-height: 1.5; }
.oag-cf__type-desc { font-size: 12.5px; line-height: 1.65; color: var(--cf-gray); }
.oag-cf__type-arrow { flex: none; color: var(--cf-greige); transition: color .25s, transform .25s var(--cf-ease); }
.oag-cf__type:hover .oag-cf__type-arrow { color: var(--cf-charcoal); transform: translateX(2px); }
.oag-cf__type input:checked + .oag-cf__type-inner .oag-cf__type-arrow { visibility: hidden; }
.oag-cf__type input:checked + .oag-cf__type-inner .oag-cf__type-icon { background: var(--cf-charcoal); color: var(--cf-white); }

/* Step 2 */
.oag-cf__guide { margin: -10px 0 28px; line-height: 1.9; font-size: 13px; color: var(--cf-gray); }
.oag-cf__guide .oag-cf__badge--req { display: inline-block; margin-right: 4px; vertical-align: 1px; }
.oag-cf-form { counter-reset: cfgroup; }
.oag-cf__group:not([hidden]) { counter-increment: cfgroup; }
.oag-cf__group-title::before {
	content: counter(cfgroup); flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
	background: var(--cf-charcoal); color: var(--cf-white); font-family: var(--cf-serif); font-size: 15px; letter-spacing: 0;
}
.oag-cf__more { margin-top: 22px; border: 1px solid var(--cf-greige); background: #fdfcfa; }
.oag-cf__more-toggle { position: relative; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px 48px 16px 20px; font-size: 14.5px; font-weight: 500; letter-spacing: .04em; cursor: pointer; list-style: none; }
.oag-cf__more-toggle::-webkit-details-marker { display: none; }
.oag-cf__more-toggle small { font-size: 12px; font-weight: 400; color: var(--cf-gray); }
.oag-cf__more-toggle::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--cf-charcoal); border-bottom: 1.5px solid var(--cf-charcoal); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--cf-ease); }
.oag-cf__more[open] .oag-cf__more-toggle::after { transform: translateY(-30%) rotate(-135deg); }
.oag-cf__more-toggle:hover { background: var(--cf-ivory); }
.oag-cf__more > .oag-cf__grid { padding: 6px 20px 22px; }
.oag-cf__remain { margin-top: 28px; padding: 12px 16px; text-align: center; font-size: 13.5px; background: #fbf6ec; color: #7a5a22; }
.oag-cf__remain.is-ok { background: #eef5ef; color: #3e6b4d; }
.oag-cf__remain + .oag-cf__nav { margin-top: 18px; }
.oag-cf__chosen { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: -8px 0 28px; padding: 14px 18px; background: var(--cf-ivory); font-size: 14px; outline: none; }
.oag-cf__chosen strong { font-weight: 500; margin-left: 4px; }
.oag-cf__change { padding: 0; border: 0; background: none; font-size: 13px; color: var(--cf-gold-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.oag-cf__ref { margin: -12px 0 28px; padding: 12px 18px; border-left: 2px solid var(--cf-gold); background: #fbfaf6; font-size: 13.5px; }
.oag-cf__group { margin: 0 0 40px; padding: 0; border: 0; min-width: 0; }
.oag-cf__group-title { display: flex; align-items: center; gap: 14px; width: 100%; margin-bottom: 24px; padding: 0; font-size: 17px; font-weight: 500; letter-spacing: .1em; }
.oag-cf__group-title::after { content: ""; flex: 1; height: 1px; background: var(--cf-line); }
.oag-cf__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.oag-cf__field { min-width: 0; }
.oag-cf__field--textarea, .oag-cf__field--files, .oag-cf__field--role, .oag-cf__field--contact_by, .oag-cf__field--loan { grid-column: 1 / -1; }
.oag-cf__group > .oag-cf__field { margin-top: 22px; }
.oag-cf__label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 0; font-size: 13.5px; font-weight: 500; letter-spacing: .06em; }
.oag-cf__badge { display: inline-block; padding: 1px 7px; font-size: 10px; font-weight: 500; letter-spacing: .06em; line-height: 1.7; }
.oag-cf__badge--req { display: none; background: var(--cf-charcoal); color: var(--cf-white); }
.oag-cf__badge--opt { color: var(--cf-gray); border: 1px solid var(--cf-greige); padding: 0 6px; }
.oag-cf__field.is-required .oag-cf__badge--req { display: inline-block; }
.oag-cf__field.is-required .oag-cf__badge--opt { display: none; }

.oag-cf input[type="text"], .oag-cf input[type="email"], .oag-cf input[type="tel"], .oag-cf select, .oag-cf textarea {
	width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--cf-greige); border-radius: var(--cf-radius); background: #fdfcfa;
	font-size: 16px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.oag-cf textarea { min-height: 170px; line-height: 1.8; resize: vertical; }
.oag-cf input::placeholder, .oag-cf textarea::placeholder { color: #b1aea5; }
.oag-cf input:focus, .oag-cf select:focus, .oag-cf textarea:focus { outline: none; border-color: var(--cf-charcoal); background: var(--cf-white); box-shadow: 0 0 0 4px rgba(184, 167, 136, .25); }
.oag-cf .has-error input, .oag-cf .has-error select, .oag-cf .has-error textarea { border-color: var(--cf-alert); background: #fdf7f6; }
.oag-cf__select { position: relative; }
.oag-cf__select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--cf-gray); border-bottom: 1.5px solid var(--cf-gray); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.oag-cf select { appearance: none; padding-right: 40px; }
.oag-cf__unit { display: flex; align-items: center; gap: 10px; }
.oag-cf__unit em { flex: none; font-style: normal; font-size: 13.5px; color: var(--cf-gray); }
.oag-cf__hint { margin-top: 6px; font-size: 11.5px; color: var(--cf-gray); }
.oag-cf__hint--top { margin: -2px 0 10px; }
.oag-cf__error { margin-top: 8px; font-size: 12.5px; color: var(--cf-alert); }

/* Pills (radio) */
.oag-cf__radios { margin: 0; padding: 0; border: 0; min-width: 0; }
.oag-cf__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.oag-cf__pill { position: relative; cursor: pointer; }
.oag-cf__pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.oag-cf__pill span { display: inline-block; padding: 10px 20px; border: 1px solid var(--cf-greige); border-radius: 999px; background: #fdfcfa; font-size: 14px; transition: all .2s; }
.oag-cf__pill:hover span { border-color: var(--cf-charcoal); }
.oag-cf__pill input:checked + span { background: var(--cf-charcoal); border-color: var(--cf-charcoal); color: var(--cf-white); }
.oag-cf__pill input:focus-visible + span { outline: 2px solid var(--cf-gold); outline-offset: 2px; }

/* Address */
.oag-cf__address { grid-column: 1 / -1; padding: 22px 24px 24px; background: var(--cf-ivory); }
.oag-cf__sub { margin-bottom: 14px; font-size: 13.5px; font-weight: 500; letter-spacing: .1em; }
.oag-cf__address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.oag-cf__field--zip { grid-column: 1 / -1; }
.oag-cf__address input, .oag-cf__address select { background: var(--cf-white); }
.oag-cf__zip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.oag-cf__zip-mark { font-size: 16px; color: var(--cf-gray); }
.oag-cf__zip input { width: 170px !important; letter-spacing: .08em; }
.oag-cf__zip-btn { min-height: 52px; padding: 0 20px; border: 1px solid var(--cf-charcoal); border-radius: var(--cf-radius); background: var(--cf-white); font-size: 13.5px; letter-spacing: .06em; cursor: pointer; transition: all .2s; }
.oag-cf__zip-btn:hover { background: var(--cf-charcoal); color: var(--cf-white); }
.oag-cf__zip-status { margin-top: 8px; font-size: 12px; color: var(--cf-gray); }
.oag-cf__zip-status.is-ok { color: #3e6b4d; }
.oag-cf__zip-status.is-warn { color: #8a5a1f; }

/* Files */
.oag-cf__drop {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 20px; text-align: center;
	border: 1.5px dashed var(--cf-greige); background: #fdfcfa; transition: border-color .2s, background-color .2s;
}
.oag-cf__drop:hover, .oag-cf__drop.is-over { border-color: var(--cf-gold); background: var(--cf-ivory); }
.oag-cf__drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.oag-cf__drop-icon { color: var(--cf-gold-ink); }
.oag-cf__drop-text { font-size: 14px; }
.oag-cf__drop-text strong { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; margin-right: 4px; }
.oag-cf__drop-note { font-size: 11.5px; color: var(--cf-gray); }
.oag-cf__filelist { margin-top: 10px; }
.oag-cf__filelist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--cf-line); font-size: 13.5px; }
.oag-cf__filelist li small { color: var(--cf-gray); }
.oag-cf__filelist li.is-bad { color: var(--cf-alert); }
.oag-cf__filelist li.is-msg { border: 0; padding: 6px 0; }
.oag-cf__file-note { font-size: 11.5px; color: var(--cf-gray); }
.oag-cf__file-clear { padding: 0; border: 0; background: none; font-size: 12.5px; color: var(--cf-gray); text-decoration: underline; cursor: pointer; }

/* Agree & navigation */
.oag-cf__agree { margin: 8px 0 0; padding: 20px; text-align: center; background: var(--cf-ivory); }
.oag-cf__agree label { display: inline-flex; align-items: center; gap: 12px; font-size: 14.5px; cursor: pointer; }
.oag-cf__agree input { width: 22px; height: 22px; accent-color: var(--cf-charcoal); }
.oag-cf__agree.has-error { box-shadow: inset 0 0 0 1px var(--cf-alert); }
.oag-cf__nav, .oag-cf__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.oag-cf__nav .oag-btn, .oag-cf__actions .oag-btn { min-width: 240px; min-height: 58px; font-size: 15px; }
.oag-cf .oag-btn--primary { background: var(--cf-charcoal); color: var(--cf-white); border-color: var(--cf-charcoal); }
.oag-cf .oag-btn--primary:hover { background: #3a3b37; }
.oag-cf .oag-btn--primary:disabled { opacity: .6; cursor: wait; }

/* Confirm */
.oag-cf__review { margin-bottom: 32px; }
.oag-cf__review-title { margin-bottom: 4px; font-size: 14px; font-weight: 500; letter-spacing: .14em; color: var(--cf-gold-ink); }
.oag-cf__review .oag-spec__row { grid-template-columns: 11em minmax(0, 1fr); padding: 16px 4px; }
.oag-cf__agree-done { margin-top: 8px; text-align: center; font-size: 13px; color: var(--cf-gray); }

/* Complete */
.oag-cf__done { padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); text-align: center; background: var(--cf-white); border: 1px solid var(--cf-line); }
.oag-cf__done-icon { display: inline-flex; color: var(--cf-gold); margin-bottom: 14px; }
.oag-cf__done-icon svg { width: 56px; height: 56px; }
.oag-cf__done-title { margin-bottom: 18px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 400; letter-spacing: .12em; }
.oag-cf__done p { font-size: 14.5px; line-height: 2; }
.oag-cf__done-note { margin-top: 12px; font-size: 12.5px !important; color: var(--cf-gray); }
.oag-cf__line { margin-top: 20px; }
.oag-cf__line .oag-line { padding: clamp(24px, 4vw, 40px); background: var(--cf-ivory); }
.oag-cf__done-back { margin-top: 32px; text-align: center; }

@media (max-width: 900px) {
	.oag-cf__types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.oag-cf__progress { margin-bottom: 28px; }
	.oag-cf__progress-label { font-size: 11px; letter-spacing: .06em; }
	.oag-cf__panel { padding: 24px 18px; }
	.oag-cf__types { gap: 8px; }
	.oag-cf__types { grid-template-columns: 1fr; }
	.oag-cf__type-inner { gap: 14px; padding: 14px 14px; }
	.oag-cf__type-icon { width: 42px; height: 42px; }
	.oag-cf__type-title { font-size: 15.5px; }
	.oag-cf__more > .oag-cf__grid { padding: 4px 14px 18px; }
	.oag-cf__grid, .oag-cf__address-grid { grid-template-columns: 1fr; }
	.oag-cf__address { padding: 18px 16px; }
	.oag-cf__zip input { width: 140px !important; flex: 1; }
	.oag-cf__zip-btn { flex: 1 0 100%; }
	.oag-cf__nav, .oag-cf__actions { flex-direction: column-reverse; }
	.oag-cf__nav .oag-btn, .oag-cf__actions .oag-btn { width: 100%; min-width: 0; }
	.oag-cf__review .oag-spec__row { grid-template-columns: 1fr; gap: 2px; }
	.oag-cf__chosen { flex-direction: column; align-items: flex-start; gap: 6px; }
}


.oag-cf .oag-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .75em;
	min-height: 52px; padding: 14px 28px; border: 1px solid transparent; border-radius: var(--cf-radius);
	background: var(--cf-charcoal); color: var(--cf-white);
	font-size: 14px; font-weight: 500; letter-spacing: .12em; line-height: 1.4; text-decoration: none;
	cursor: pointer; transition: background-color .35s var(--cf-ease), color .35s var(--cf-ease), border-color .35s var(--cf-ease);
}
.oag-cf .oag-btn:hover { background: #3a3b37; color: var(--cf-white); }
.oag-cf .oag-btn--ghost { background: transparent; color: var(--cf-charcoal); border-color: var(--cf-greige); }
.oag-cf .oag-btn--ghost:hover { border-color: var(--cf-charcoal); background: transparent; color: var(--cf-charcoal); }
.oag-cf .oag-alert { margin-bottom: 24px; padding: 16px 20px; border-left: 3px solid var(--cf-alert); background: #fbf3f2; color: var(--cf-alert); font-size: 14px; }
.oag-cf .oag-spec { border-top: 1px solid var(--cf-charcoal); }
.oag-cf .oag-spec__row { display: grid; grid-template-columns: 12em minmax(0, 1fr); gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--cf-line); }
.oag-cf .oag-spec dt { font-size: 13.5px; font-weight: 500; letter-spacing: .1em; color: var(--cf-gray); }
.oag-cf .oag-spec dd { margin: 0; font-size: 15px; line-height: 1.9; }
.oag-cf .oag-spec--compact .oag-spec__row { grid-template-columns: 7em minmax(0, 1fr); padding: 14px 0; }
.oag-cf .oag-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.oag-cf .oag-line__en { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; font-family: var(--cf-en); font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--cf-gold-ink); }
.oag-cf .oag-line__en::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.oag-cf .oag-line__title { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 400; letter-spacing: .1em; line-height: 1.6; }
.oag-cf .oag-line__lead { margin-top: 16px; font-size: 14.5px; line-height: 2; color: var(--cf-gray); }
.oag-cf .oag-line__points { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 24px; }
.oag-cf .oag-line__points li { padding: 6px 14px; border: 1px solid var(--cf-greige); background: var(--cf-white); font-size: 13px; }
.oag-cf .oag-line__action { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.oag-cf .oag-line__qr { padding: 16px 16px 12px; background: var(--cf-white); border: 1px solid var(--cf-line); text-align: center; }
.oag-cf .oag-line__qr img { width: 150px; height: 150px; object-fit: contain; }
.oag-cf .oag-line__qr figcaption { margin-top: 8px; font-size: 11px; color: var(--cf-gray); }
.oag-cf .oag-line__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 240px; min-height: 56px; padding: 12px 28px;
	border-radius: 999px; background: #047a36; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-decoration: none; transition: background-color .3s;
}
.oag-cf .oag-line__btn:hover { background: #036a2f; }
.oag-cf .oag-line__id { font-size: 12.5px; color: var(--cf-gray); }
.oag-cf .oag-line__id span { font-family: var(--cf-en); letter-spacing: .04em; color: var(--cf-charcoal); }
.oag-cf .oag-line--compact { grid-template-columns: 1fr; gap: 16px; padding: 24px; background: var(--cf-ivory); }
.oag-cf .oag-line--compact .oag-line__en { display: none; }
.oag-cf .oag-line--compact .oag-line__title { font-size: 15px; font-weight: 500; letter-spacing: .06em; }
.oag-cf .oag-line--compact .oag-line__lead { margin-top: 8px; font-size: 13px; }
.oag-cf .oag-line--compact .oag-line__btn { min-width: 0; width: 100%; }
@media (max-width: 900px) {
	.oag-cf .oag-line { grid-template-columns: 1fr; }
	.oag-cf .oag-line__action { align-items: flex-start; }
}
@media (max-width: 640px) {
	.oag-cf .oag-line__qr { display: none; }
	.oag-cf .oag-line__action { align-items: stretch; }
	.oag-cf .oag-line__btn { width: 100%; }
}

/* ---- Forms made in the admin ---- */
.oag-cf__progress--3 { grid-template-columns: repeat(3, 1fr); max-width: 480px; }
.oag-cf--builder .oag-cf__grid > .is-full { grid-column: 1 / -1; }
.oag-cf__intro { margin: 0 0 24px; font-size: 14.5px; line-height: 1.9; }
.oag-cf__heading { margin-top: 18px; }
.oag-cf__heading:first-child { margin-top: 0; }
.oag-cf__group-title--plain { margin-bottom: 6px; }
.oag-cf__group-title--plain::before { display: none; }
.oag-cf__review-head { padding: 18px 4px 6px; font-size: 14px; font-weight: 500; letter-spacing: .12em; color: var(--cf-gold-ink); border-bottom: 1px solid var(--cf-line); }
.oag-cf__pill--check span { border-radius: var(--cf-radius); padding-left: 38px; position: relative; }
.oag-cf__pill--check span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 1.5px solid var(--cf-greige); border-radius: 2px; background: #fff; }
.oag-cf__pill--check input:checked + span::before { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23242522' stroke-width='3'/%3E%3C/svg%3E") center/11px no-repeat; }
.oag-cf input[type="date"] { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--cf-greige); border-radius: var(--cf-radius); background: #fdfcfa; font-size: 16px; }
.oag-cf--builder .oag-cf__address { padding: 22px 24px 24px; }
.oag-cf--builder .oag-cf__address .oag-cf__sub { display: flex; align-items: center; gap: 8px; }
.oag-cf--builder .oag-cf__address .oag-cf__badge--req { display: inline-block; }
.oag-cf--builder .oag-cf__field.is-required > .oag-cf__label .oag-cf__badge--req,
.oag-cf--builder .oag-cf__field.is-required legend .oag-cf__badge--req { display: inline-block; }

/* ---- Area (㎡ / 坪) ---- */
.oag-cf__area { display: flex; align-items: stretch; gap: 8px; }
.oag-cf__area input[type="text"] { flex: 1; min-width: 0; }
.oag-cf__units { flex: none; display: inline-flex; border: 1px solid var(--cf-greige); border-radius: var(--cf-radius); overflow: hidden; background: #fdfcfa; }
.oag-cf__units label { position: relative; display: flex; cursor: pointer; }
.oag-cf__units input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.oag-cf__units span { display: flex; align-items: center; justify-content: center; min-width: 52px; padding: 0 12px; font-size: 14.5px; color: var(--cf-gray); transition: background-color .2s, color .2s; }
.oag-cf__units label + label span { border-left: 1px solid var(--cf-greige); }
.oag-cf__units input:checked + span { background: var(--cf-charcoal); color: var(--cf-white); }
.oag-cf__units input:focus-visible + span { outline: 2px solid var(--cf-gold); outline-offset: -2px; }
.oag-cf__conv { margin-top: 6px; font-size: 12.5px; color: var(--cf-gold-ink); }

/* Fields shown by a display condition (forms made in the admin) */
.oag-cf--builder [data-cond][hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) {
	.oag-cf--builder .is-revealed { animation: oag-cf-reveal .45s ease both; }
	@keyframes oag-cf-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}

/* ==========================================================================
   新着記事のメール配信（[ag_newsletter]）
   ========================================================================== */
.oag-nl { margin: 48px 0 8px; padding: clamp(22px, 3vw, 32px); background: var(--cf-ivory, var(--c-ivory, #f5f2ec)); border: 1px solid var(--cf-line, var(--c-line, #e2ddd3)); border-radius: 4px; }
.oag-nl__title { margin: 0 0 8px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); letter-spacing: .08em; font-weight: 500; }
.oag-nl__title::before { content: ""; display: inline-block; width: 18px; height: 13px; margin-right: 10px; vertical-align: -1px; border: 1.5px solid var(--cf-gold, var(--c-gold-ink, #8a7346)); border-radius: 2px;
	background: linear-gradient(to bottom right, transparent calc(50% - 1px), var(--cf-gold, var(--c-gold-ink, #8a7346)) 50%, transparent calc(50% + 1px)) left / 50% 100% no-repeat,
		linear-gradient(to bottom left, transparent calc(50% - 1px), var(--cf-gold, var(--c-gold-ink, #8a7346)) 50%, transparent calc(50% + 1px)) right / 50% 100% no-repeat; }
.oag-nl__lead { margin: 0 0 16px; font-size: 14px; line-height: 1.9; color: #4a4b46; }
.oag-nl__row { display: flex; gap: 8px; }
.oag-nl__row input[type="email"] { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--cf-line, #d9d3c7); border-radius: 2px; background: #fff; font-size: 16px; }
.oag-nl__btn { flex: none; padding: 12px 22px; border: 0; border-radius: 2px; background: var(--cf-gold, var(--c-gold, #b8a788)); color: #fff; font-size: 14px; letter-spacing: .1em; cursor: pointer; }
.oag-nl__btn:hover { filter: brightness(.94); }
.oag-nl__agree { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; }
.oag-nl__agree a { color: inherit; text-decoration: underline; }
.oag-nl__note { margin: 6px 0 0; font-size: 12px; color: #7a7b76; }
.oag-nl__msg { margin: 0 0 14px; padding: 10px 14px; border-radius: 2px; font-size: 14px; }
.oag-nl__msg.is-ok { background: #edf5ee; color: #2c5e35; }
.oag-nl__msg.is-err { background: #fbeeee; color: #8a2b2b; }
.oag-nl__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.side-block .oag-nl, .widget .oag-nl { margin: 0; padding: 18px; }
.side-block .oag-nl__row, .widget .oag-nl__row { flex-direction: column; }
@media (max-width: 600px) { .oag-nl__row { flex-direction: column; } .oag-nl__btn { width: 100%; } }
.oag-nl-page { max-width: 640px; margin: 0 auto; padding: 40px 0 24px; text-align: center; line-height: 2; }
.oag-nl-page__title { margin-bottom: 16px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 400; letter-spacing: .1em; }
.oag-nl-page form { margin: 24px 0; }

/* ==========================================================================
   日時の予約（フォームの「日時の予約」項目）
   ========================================================================== */
.oag-bk__select.is-enhanced { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0; }
.oag-bk { position: relative; }
.oag-bk__step { margin: 4px 0 8px; font-size: 13px; letter-spacing: .06em; color: var(--cf-gray, #6d6e69); }
.oag-bk__nav { display: flex; align-items: stretch; gap: 6px; }
.oag-bk__arrow { flex: none; width: 34px; border: 1px solid var(--cf-line, #e2ddd3); border-radius: 2px; background: #fff; font-size: 22px; line-height: 1; color: var(--cf-gray, #6d6e69); cursor: pointer; }
.oag-bk__arrow:hover { border-color: var(--cf-gold, #b8a788); color: var(--cf-ink, #242522); }
.oag-bk__days { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; padding-bottom: 4px; }
.oag-bk__day { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; width: 66px; padding: 8px 4px; border: 1px solid var(--cf-line, #e2ddd3); border-radius: 2px; background: #fff; color: var(--cf-ink, #242522); cursor: pointer; scroll-snap-align: start; transition: border-color .2s, background-color .2s; }
.oag-bk__day:hover { border-color: var(--cf-gold, #b8a788); }
.oag-bk__day.is-on { border-color: var(--cf-ink, #242522); background: var(--cf-ink, #242522); color: #fff; }
.oag-bk__m { font-size: 10px; letter-spacing: .06em; opacity: .7; }
.oag-bk__d { font-size: 20px; line-height: 1.2; font-family: var(--f-serif, serif); }
.oag-bk__w { font-size: 11px; }
.oag-bk__day.is-sat .oag-bk__w { color: #3a6ea5; }
.oag-bk__day.is-sun .oag-bk__w { color: #b04a4a; }
.oag-bk__day.is-on .oag-bk__w { color: #fff; }
.oag-bk__n { margin-top: 2px; font-size: 10px; color: var(--cf-gold-ink, #8a7346); }
.oag-bk__day.is-on .oag-bk__n { color: #e8dcc0; }
.oag-bk__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
.oag-bk__time { padding: 10px 6px; border: 1px solid var(--cf-line, #e2ddd3); border-radius: 2px; background: #fff; font-size: 14px; letter-spacing: .04em; color: var(--cf-ink, #242522); cursor: pointer; }
.oag-bk__time:hover { border-color: var(--cf-gold, #b8a788); }
.oag-bk__time.is-on { border-color: var(--cf-gold, #b8a788); background: var(--cf-gold, #b8a788); color: #fff; }
.oag-bk__picked { min-height: 1.6em; margin: 12px 0 0; font-size: 15px; letter-spacing: .04em; }
.oag-bk__picked-label { display: inline-block; margin-right: 10px; padding: 2px 10px; background: var(--cf-ink, #242522); color: #fff; font-size: 11px; letter-spacing: .12em; vertical-align: 1px; }
.oag-bk__empty { padding: 14px 16px; background: #f7f4ee; font-size: 14px; }
@media (max-width: 600px) { .oag-bk__arrow { display: none; } .oag-bk__day { width: 60px; } }

/* イベントの日程の選択 */
.oag-evp__fallback { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.oag-evp__days { display: grid; gap: 6px; }
.oag-evp__day { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 14px; border: 1px solid var(--cf-line, #e2ddd3); border-radius: 2px; background: #fff; text-align: left; cursor: pointer; color: var(--cf-ink, #242522); }
.oag-evp__day:hover { border-color: var(--cf-gold, #b8a788); }
.oag-evp__day.is-on { border-color: var(--cf-ink, #242522); box-shadow: inset 0 0 0 1px var(--cf-ink, #242522); }
.oag-evp__date { flex: none; display: flex; flex-direction: column; align-items: center; width: 52px; }
.oag-evp__md { font-family: var(--f-serif, serif); font-size: 20px; line-height: 1.1; }
.oag-evp__w { font-size: 11px; color: var(--cf-gold-ink, #8a7346); }
.oag-evp__date.is-sat .oag-evp__w { color: #3a6ea5; }
.oag-evp__date.is-sun .oag-evp__w { color: #b04a4a; }
.oag-evp__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oag-evp__title { font-size: 15px; }
.oag-evp__time { font-size: 12px; color: var(--cf-gray, #6d6e69); }
.oag-evp__times { margin-top: 12px; }
.oag-evp__left { display: block; font-size: 10px; opacity: .8; }
.oag-evp__times .oag-bk__times { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }

/* 「お問い合わせの物件」 (from a property page) */
.oag-cf .oag-cf__ref { margin: 0 0 28px; padding: 16px 20px; border: 1px solid var(--cf-line, rgba(36,37,34,.14)); border-left: 3px solid var(--cf-gold, #b8a788); background: var(--cf-ivory, #f5f2ec); }
.oag-cf .oag-cf__ref-h { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--cf-gray, #62615d); }
.oag-cf .oag-cf__ref ul { margin: 0 !important; padding: 0 !important; list-style: none; }
.oag-cf .oag-cf__ref li { padding: 2px 0; font-size: 15px; }
.oag-cf .oag-cf__ref a { color: inherit; }
