:root {
	--sinthia-color-text: #142335;
	--sinthia-color-muted: #f8fafc;
	--sinthia-color-border: #e4e8ee;
	--sinthia-color-primary: #b9882f;
	--sinthia-site-width: 1120px;
	--c-bg: var(--wp--preset--color--base, #ffffff);
	--c-bg-soft: var(--wp--preset--color--muted, #f8fafc);
	--c-bg-muted: #f5f7fb;
	--c-bg-warm: #fbf7ef;
	--c-text: var(--wp--preset--color--contrast, #142335);
	--c-heading: #06182c;
	--c-muted: #596675;
	--c-sub: #4d5a68;
	--c-border: #e4e8ee;
	--c-border-warm: #eadfca;
	--c-brand: var(--wp--preset--color--primary, #b9882f);
	--c-brand-light: #d8b66a;
	--c-brand-soft: var(--c-bg-warm);
	--c-navy: #06182c;
	--c-navy-soft: #0b2a46;
	--c-cta: var(--wp--preset--color--accent, #df3338);
	--c-cta-dark: #c51e24;
	--c-on-dark: #ffffff;
	--c-on-dark-muted: rgba(255, 255, 255, 0.74);
	--c-accent: var(--c-cta);
	--c-text-sub: var(--c-muted);
	--c-text-muted: var(--c-sub);
	--g-soft: linear-gradient(135deg, var(--c-bg-soft) 0%, var(--c-bg-muted) 58%, var(--c-bg-warm) 100%);
	--g-dark: linear-gradient(135deg, rgba(6, 24, 44, 0.98), rgba(11, 42, 70, 0.98));
	--g-cta: linear-gradient(135deg, var(--c-cta), var(--c-cta-dark));
	--w-content: var(--wp--style--global--wide-size, 1120px);
	--w-readable: var(--wp--style--global--content-size, 780px);
	--w-narrow: 960px;
	--space-section: 64px;
	--space-section-sp: 48px;
	--space-inner-x: 28px;
	--space-inner-x-sp: 24px;
	--space-card: 24px;
	--space-card-sp: 18px;
	--space-gap: 14px;
	--space-gap-lg: 34px;
	--space-section-tight: var(--space-section-sp);
	--space-stack: var(--space-card);
	--space-grid-gap: var(--space-gap);
	--radius-sm: 14px;
	--radius-md: 18px;
	--radius-card: 20px;
	--radius-panel: 24px;
	--radius-section: 28px;
	--radius-pill: 999px;
	--radius-button: var(--radius-pill);
	--shadow-card: 0 12px 32px rgba(6, 24, 44, 0.055);
	--shadow-section: 0 20px 52px rgba(6, 24, 44, 0.09);
	--shadow-dark: 0 20px 52px rgba(6, 24, 44, 0.16);
	--shadow-cta: 0 14px 28px rgba(197, 30, 36, 0.22);
	--shadow-cta-hover: 0 18px 34px rgba(197, 30, 36, 0.26);
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-heading: "Yu Mincho", "Hiragino Mincho ProN", serif;
	--font-decor: Georgia, serif;
	--fz-body: 15.5px;
	--fz-body-sp: 14px;
	--fz-section-title: clamp(32px, 4.4vw, 54px);
	--fz-section-title-sp: clamp(29px, 8.7vw, 40px);
	--fz-card-title: 18px;
	--fz-label: 12px;
	--lh-body: 1.85;
	--lh-heading: 1.3;
}

body {
	background: #fff;
	color: var(--sinthia-color-text);
	font-family: var(--font-body);
	line-height: 1.75;
}

a {
	color: var(--sinthia-color-primary);
}

img {
	height: auto;
	max-width: 100%;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.screen-reader-text:focus {
	background-color: #fff;
	clip: auto;
	clip-path: none;
	color: var(--sinthia-color-text);
	display: block;
	font-size: 1rem;
	height: auto;
	left: 1rem;
	padding: 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

.site-header,
.site-footer {
	border-color: var(--sinthia-color-border);
}

.site-header {
	border-bottom: 1px solid var(--sinthia-color-border);
}

.site-footer {
	border-top: 1px solid var(--sinthia-color-border);
}

.site-footer__inner {
	margin-inline: auto;
	max-width: var(--sinthia-site-width);
	padding-inline: clamp(1rem, 4vw, 2rem);
}

.site-header__inner {
	align-items: center;
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
	min-height: 72px;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

.site-title,
.site-description,
.site-footer__copyright {
	margin: 0;
}

.site-title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.25;
}

.site-title a {
	color: inherit;
	text-decoration: none;
}

.site-description {
	color: #586069;
	font-size: 0.875rem;
}

.primary-navigation__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-navigation__menu a {
	color: inherit;
	text-decoration: none;
}

.site-main {
	/* padding-block: clamp(2rem, 6vw, 4rem); */
}

.entry {
	margin-block-end: 3rem;
}

/* =========================================================
   Page Header / Entry Title
========================================================= */

.entry-header {
  width: min(var(--w-readable, 780px), calc(100% - var(--space-inner-x, 28px)));
  margin: 42px auto 0;
}

.entry-title {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: var(--c-heading, #06182c);
  font-family: var(--font-heading, "Yu Mincho", "Hiragino Mincho ProN", serif);
  font-size: clamp(32px, 4.8vw, 48px);
  font-weight: 900;
  line-height: var(--lh-heading, 1.3);
  letter-spacing: 0.02em;
}

.entry-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.16em;
  width: 5px;
  height: 1.08em;
  border-radius: var(--radius-pill, 999px);
  background: linear-gradient(
    180deg,
    var(--c-brand-light, #d8b66a),
    var(--c-brand, #b9882f)
  );
}

.entry-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 14px;
  background: var(--c-border-warm, #eadfca);
}

@media (max-width: 780px) {
  .entry-header {
    width: min(100% - var(--space-inner-x-sp, 24px), var(--w-readable, 780px));
    margin-top: 30px;
  }

  .entry-title {
    padding-left: 15px;
    font-size: clamp(28px, 8vw, 38px);
  }

  .entry-title::before {
    width: 4px;
  }

  .entry-title::after {
    width: 46px;
    margin-top: 11px;
  }
}

.entry-content > *:first-child {
	margin-block-start: 0;
}

.entry-content > *:last-child {
	margin-block-end: 0;
}

/* =========================================================
   Fixed Bottom CTA
========================================================= */

.lp-contents .ka-mobile-sticky-cta {
	display: none;
}

.lp-contents .ka-mobile-sticky-cta__space {
	display: none;
}

@media (max-width: 640px) {
	.lp-contents .ka-mobile-sticky-cta {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9999;
		display: block;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, 0.96);
		border-top: 1px solid rgba(6, 24, 44, 0.12);
		box-shadow: 0 -12px 30px rgba(6, 24, 44, 0.14);
		backdrop-filter: blur(12px);
	}

	.lp-contents .ka-mobile-sticky-cta__inner {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 10px;
		align-items: center;
		width: min(100%, 430px);
		margin: 0 auto;
	}

	.lp-contents .ka-mobile-sticky-cta__text {
		min-width: 0;
	}

	.lp-contents .ka-mobile-sticky-cta__text span {
		display: inline-flex;
		align-items: center;
		min-height: 22px;
		padding: 3px 8px;
		border-radius: 999px;
		background: #fbf7ef;
		border: 1px solid #eadfca;
		color: #b9882f;
		font-size: 10px;
		font-weight: 900;
		line-height: 1;
	}

	.lp-contents .ka-mobile-sticky-cta__text strong {
		display: block;
		margin-top: 4px;
		color: #06182c;
		font-size: 12.5px;
		font-weight: 900;
		line-height: 1.35;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.lp-contents .ka-mobile-sticky-cta__button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 138px;
		min-height: 48px;
		padding: 0 16px;
		border-radius: 999px;
		background: linear-gradient(135deg, #df3338, #c51e24);
		color: #ffffff;
		font-size: 14px;
		font-weight: 900;
		line-height: 1.35;
		text-align: center;
		text-decoration: none;
		box-shadow: 0 12px 26px rgba(197, 30, 36, 0.26);
	}

	.lp-contents .ka-mobile-sticky-cta__button::after {
		content: "›";
		margin-left: 7px;
		font-size: 18px;
		line-height: 1;
	}

	.lp-contents .ka-mobile-sticky-cta__space {
		display: block;
		height: 86px;
	}
}

.site-footer__inner {
	padding-block: 1.5rem;
}

@media (max-width: 720px) {
	.site-header__inner {
		align-items: flex-start;
		flex-direction: column;
		padding-block: 1rem;
	}
}

/* =========================================================
   買取アテンド CF7 Request Form
   Scope: Contact Form 7 / request page
========================================================= */

.wpcf7 {
  width: min(var(--w-readable, 780px), calc(100% - var(--space-inner-x, 28px)));
  margin-inline: auto;
  color: var(--c-text, #142335);
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.wpcf7-form {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--c-border, #e4e8ee);
  border-radius: var(--radius-section, 28px);
  background:
    radial-gradient(circle at 12% 0%, rgba(185, 136, 47, 0.08), transparent 28%),
    linear-gradient(135deg, var(--c-bg, #ffffff) 0%, var(--c-bg-soft, #f8fafc) 100%);
  box-shadow: var(--shadow-section, 0 20px 52px rgba(6, 24, 44, 0.09));
}

/* CF7が自動生成する余白・brを整える */
.wpcf7 .input_area > p,
.wpcf7 .button_area > p {
  margin: 0;
}

.wpcf7 .input_area > p + p {
  margin-top: 18px;
}

.wpcf7 br {
  display: none;
}

/* label */
.wpcf7 label {
  display: block;
  color: var(--c-heading, #06182c);
  font-size: var(--fz-label, 13px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* 必須系の見た目補助 */
.wpcf7 .wpcf7-validates-as-required {
  scroll-margin-top: 90px;
}

/* input/select/textarea common */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--c-border, #e4e8ee);
  border-radius: var(--radius-md, 18px);
  background: var(--c-bg, #ffffff);
  color: var(--c-text, #142335);
  font-size: var(--fz-body, 15.5px);
  line-height: 1.6;
  outline: none;
  box-shadow: 0 6px 18px rgba(6, 24, 44, 0.035);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

.wpcf7 select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--c-brand, #b9882f) 50%),
    linear-gradient(135deg, var(--c-brand, #b9882f) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: color-mix(in srgb, var(--c-muted, #596675) 68%, #ffffff);
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--c-brand, #b9882f);
  background-color: #fffefa;
  box-shadow:
    0 0 0 4px rgba(185, 136, 47, 0.12),
    0 10px 26px rgba(6, 24, 44, 0.06);
}

/* invalid */
.wpcf7 .wpcf7-not-valid {
  border-color: var(--c-cta, #df3338) !important;
  background: #fff8f8 !important;
}

.wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 7px;
  color: var(--c-cta-dark, #c51e24);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.6;
}

/* checkbox group */
.wpcf7 .wpcf7-checkbox {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.wpcf7 .wpcf7-list-item {
  margin: 0;
}

.wpcf7 .wpcf7-checkbox .wpcf7-list-item label,
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--c-border, #e4e8ee);
  border-radius: var(--radius-md, 18px);
  background: var(--c-bg, #ffffff);
  color: var(--c-text, #142335);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.wpcf7 .wpcf7-checkbox .wpcf7-list-item label:hover {
  transform: translateY(-1px);
  border-color: var(--c-border-warm, #eadfca);
  box-shadow: var(--shadow-card, 0 12px 32px rgba(6, 24, 44, 0.055));
}

.wpcf7 input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--c-brand, #b9882f);
  flex: 0 0 auto;
}

.wpcf7 .wpcf7-checkbox .wpcf7-list-item:has(input:checked) label,
.wpcf7 .wpcf7-acceptance .wpcf7-list-item:has(input:checked) label {
  border-color: var(--c-brand, #b9882f);
  background: var(--c-brand-soft, #fbf7ef);
  box-shadow: 0 0 0 3px rgba(185, 136, 47, 0.1);
}

/* privacy */
.wpcf7 .privacy-policy-box {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--c-border-warm, #eadfca);
  border-radius: var(--radius-card, 22px);
  background: var(--c-brand-soft, #fbf7ef);
}

.wpcf7 .privacy-policy-box p {
  margin: 0;
  color: var(--c-muted, #596675);
  font-size: 13px;
  line-height: 1.85;
}

.wpcf7 .privacy-policy-box p + p {
  margin-top: 8px;
}

.wpcf7 .privacy-policy-box a {
  color: var(--c-brand, #b9882f);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* confirmation */
.wpcf7 .confirm_area {
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid var(--c-border, #e4e8ee);
  border-radius: var(--radius-card, 20px);
  background: var(--c-bg-soft, #f8fafc);
  box-shadow: var(--shadow-card, 0 12px 32px rgba(6, 24, 44, 0.055));
}

.wpcf7 .sinthia-cf7-confirm-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.wpcf7 .sinthia-cf7-confirm-list dt,
.wpcf7 .sinthia-cf7-confirm-list dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border, #e4e8ee);
}

.wpcf7 .sinthia-cf7-confirm-list dt {
  color: var(--c-heading, #06182c);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
}

.wpcf7 .sinthia-cf7-confirm-list dd {
  color: var(--c-text, #142335);
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.wpcf7 .sinthia-cf7-confirm-list dt:first-child,
.wpcf7 .sinthia-cf7-confirm-list dt:first-child + dd {
  padding-top: 0;
}

.wpcf7 .sinthia-cf7-confirm-list dt:nth-last-child(2),
.wpcf7 .sinthia-cf7-confirm-list dd:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

/* button area */
.wpcf7 .button_area {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.wpcf7 .button_area p {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.wpcf7 .confirm_button,
.wpcf7 .back_button,
.wpcf7 .wpcf7-submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: var(--radius-pill, 999px);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease,
    background-color 0.18s ease;
}

.wpcf7 .confirm_button,
.wpcf7 .wpcf7-submit {
  background: var(--g-cta, linear-gradient(135deg, #df3338, #c51e24));
  color: #ffffff;
  box-shadow: var(--shadow-cta, 0 14px 28px rgba(197, 30, 36, 0.22));
}

.wpcf7 .back_button {
  background: var(--c-navy, #06182c);
  color: #ffffff;
  box-shadow: var(--shadow-card, 0 12px 32px rgba(6, 24, 44, 0.055));
}

.wpcf7 .confirm_button:hover,
.wpcf7 .back_button:hover,
.wpcf7 .wpcf7-submit:hover {
  transform: translateY(-2px);
}

.wpcf7 .wpcf7-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* CF7 spinner */
.wpcf7 .wpcf7-spinner {
  display: block;
  margin: 8px auto 0;
}

/* response */
.wpcf7 .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 16px 18px;
  border-radius: var(--radius-md, 18px);
  color: var(--c-text, #142335);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--c-brand, #b9882f);
  background: var(--c-brand-soft, #fbf7ef);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: var(--c-cta, #df3338);
  background: #fff8f8;
}

/* screen reader response */
.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
}

/* =========================================================
   Optional: request page wrapper
========================================================= */

.page-template-template-ai-lp-no-h1 .entry-content > .wpcf7,
.page .entry-content > .wpcf7 {
  margin-top: var(--space-section-sp, 48px);
  margin-bottom: var(--space-section, 64px);
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 780px) {
  .wpcf7 {
    width: min(100% - var(--space-inner-x-sp, 24px), var(--w-readable, 780px));
  }

  .wpcf7-form {
    padding: 22px 16px;
    border-radius: var(--radius-card, 22px);
  }

  .wpcf7 .input_area > p + p {
    margin-top: 16px;
  }

  .wpcf7 .wpcf7-checkbox {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .wpcf7 .wpcf7-checkbox .wpcf7-list-item label,
  .wpcf7 .wpcf7-acceptance .wpcf7-list-item label {
    min-height: 42px;
    padding: 9px 10px;
    border-radius: var(--radius-sm, 14px);
    font-size: 12.5px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="url"],
  .wpcf7 input[type="number"],
  .wpcf7 input[type="date"],
  .wpcf7 select {
    min-height: 50px;
    font-size: 16px; /* iOS zoom対策 */
  }

  .wpcf7 textarea {
    min-height: 140px;
    font-size: 16px; /* iOS zoom対策 */
  }

  .wpcf7 .confirm_button,
  .wpcf7 .back_button,
  .wpcf7 .wpcf7-submit {
    min-height: 54px;
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  .wpcf7 .wpcf7-checkbox {
    grid-template-columns: 1fr;
  }
}
