/* =========================================================
   contact.css
   レトロ系アイテム出張買取 お問い合わせページ用
========================================================= */

/* =========================
   Base
========================== */
:root {
  --bg-page: #f6f3ec;
  --bg-section: #f2eee6;
  --bg-white: #ffffff;
  --text-main: #1d3557;
  --text-sub: #4f6278;
  --text-muted: #6c7a8a;
  --border-soft: #ddd6c7;
  --border-strong: #d0c6b0;

  --navy: #183b67;
  --navy-2: #274f82;
  --beige: #f7eddc;
  --beige-2: #f0e2c7;
  --green: #e6f4ea;
  --green-2: #bfe3cb;
  --blue: #e8effa;
  --blue-2: #c8d8f4;
  --danger: #c0392b;

  --shadow-soft: 0 4px 14px rgba(31, 41, 55, 0.06);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
  line-height: 1.8;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

/* =========================
   Header
========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 238, 224, 0.94);
  border-bottom: 1px solid #cdb89a;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.site-brand {
  min-width: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.site-logo {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1d466f;
  line-height: 1.1;
}

.site-tagline {
  margin: 0;
  font-size: 0.8rem;
  color: #8a7d6d;
  line-height: 1.4;
}

.header-cta {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
  transition: opacity 0.2s ease;
}

.header-btn:hover {
  opacity: 0.92;
}

.header-btn-phone {
  min-width: 220px;
  padding-inline: 14px;
  background: #fff0df;
  border-color: #e9bf8d;
  color: #8f4c11;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  line-height: 1.3;
}

.header-btn-label {
  font-size: 0.78rem;
  font-weight: 700;
}

.header-btn-main {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

.header-btn-line {
  min-width: 140px;
  background: #edf7ef;
  border-color: #b8d4bd;
  color: #2f6241;
}

.header-btn-form {
  min-width: 140px;
  background: #eef2f5;
  border-color: #c5d0da;
  color: #314a63;
}

.header-btn.is-current {
  box-shadow: none;
}

/* =========================
   Page Hero
========================== */
.page-hero {
  padding: 24px 0 16px;
}

.page-hero-card {
  background: var(--bg-white);
  border: 1px solid #e5decf;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.page-hero-lead {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  background: #edf4ff;
  border: 1px solid #cadcf8;
  color: #244d84;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.page-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 1.05rem + 1.8vw, 2.1rem);
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.page-hero-copy {
  margin: 14px 0 0;
  color: var(--text-sub);
  font-size: 1rem;
}

.page-hero-copy strong {
  color: var(--navy);
}

.page-hero-note-list {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed #d8cfbc;
  border-radius: 12px;
  background: #fffaf1;
}

.page-hero-note-list p {
  margin: 0;
  color: #5a6677;
  font-size: 0.95rem;
}

.page-hero-note-list p + p {
  margin-top: 6px;
}

.page-hero-alt-cta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
}

.mini-cta-phone {
  background: #fff4e4;
  border-color: #efc88f;
  color: #9a5606;
}

.mini-cta-line {
  background: #eaf8ee;
  border-color: #b9e3c8;
  color: #267448;
}

/* =========================
   Contact Layout
========================== */
.contact-section {
  padding: 8px 0 28px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.section-card,
.side-card {
  background: var(--bg-white);
  border: 1px solid #e5decf;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.section-title,
.side-title {
  margin: 0;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.4;
}

.section-desc {
  margin: 8px 0 0;
  color: var(--text-sub);
  font-size: 0.95rem;
}

/* =========================
   Form
========================== */
.contact-form {
  margin-top: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-label {
  display: block;
  margin: 0 0 6px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.5;
}

legend.form-label {
  margin-bottom: 8px;
  padding: 0;
}

.req,
.opt {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1.4;
  vertical-align: middle;
}

.req {
  background: #fff0ee;
  color: #b9382c;
  border: 1px solid #f1c4bf;
}

.opt {
  background: #f3f5f8;
  color: #607086;
  border: 1px solid #d9e0ea;
}

.form-control {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd7e2;
  border-radius: 10px;
  background: #fff;
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.5;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  border-color: #87aee9;
  box-shadow: 0 0 0 3px rgba(92, 143, 224, 0.14);
}

.form-control-textarea {
  min-height: 180px;
  resize: vertical;
  padding-top: 12px;
}

.form-help {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #d9e0ea;
  border-radius: 10px;
  background: #fbfcfe;
  color: var(--text-sub);
  line-height: 1.5;
}

.check-item input {
  margin-top: 2px;
  flex: 0 0 auto;
}

.form-group-consent {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #dbe3ef;
  background: #f8fbff;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-sub);
  line-height: 1.6;
}

.consent-check input {
  margin-top: 4px;
  flex: 0 0 auto;
}

.consent-check a {
  color: #2a5da9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit-area {
  margin-top: 20px;
  border-top: 1px dashed #d9d2c4;
  padding-top: 16px;
}

.submit-btn {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 12px 16px;
}

.submit-btn:hover,
.submit-btn:focus-visible {
  background: var(--navy-2);
}

.submit-note {
  margin: 10px 0 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* =========================
   Side Column
========================== */
.flow-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.flow-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.flow-step {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--navy);
  line-height: 1;
}

.flow-head {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.5;
}

.flow-text {
  margin: 2px 0 0;
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.6;
}

.side-text,
.side-note {
  margin: 10px 0 0;
  color: var(--text-sub);
}

.side-note {
  font-size: 0.9rem;
}

.side-card-alt {
  background: #fffcf7;
  border-color: #eadfca;
}

.side-cta-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.side-cta {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.side-cta-label {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
}

.side-cta-main {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.45;
}

.side-cta-phone {
  background: #fff4e4;
  border-color: #efc88f;
  color: #9a5606;
}

.side-cta-line {
  background: #eaf8ee;
  border-color: #b9e3c8;
  color: #267448;
}

.faq-mini details {
  margin-top: 10px;
  border: 1px solid #dce3ee;
  border-radius: 10px;
  background: #fbfdff;
  padding: 0;
  overflow: hidden;
}

.faq-mini summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}

.faq-mini summary::-webkit-details-marker {
  display: none;
}

.faq-mini details p {
  margin: 0;
  padding: 0 14px 12px;
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =========================
   Footer
========================== */
.site-footer {
  background: #24384f;
  color: #eaf0f6;
  margin-top: 12px;
}

.footer-inner {
  display: grid;
  gap: 20px;
  padding: 28px 0 20px;
}

.footer-name {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: #ffffff;
}

.footer-text {
  margin: 0;
  font-size: 0.92rem;
  color: #dbe5ef;
  line-height: 1.7;
}

.footer-text + .footer-text {
  margin-top: 4px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-nav a {
  display: inline-block;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  font-size: 0.94rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.copyright {
  margin: 0;
  padding: 12px 0 18px;
  font-size: 0.82rem;
  color: #cdd9e6;
  text-align: center;
}

/* =========================
   Responsive
========================== */
@media (min-width: 768px) {
  .page-hero {
    padding: 28px 0 18px;
  }

  .page-hero-card {
    padding: 24px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
    gap: 20px;
    align-items: start;
  }

  .contact-side {
    position: sticky;
    top: 86px;
  }

  .check-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
.header-inner {
  grid-template-columns: 1fr;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0 12px;
}

.site-logo {
  font-size: 2rem;
}

.header-cta {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  justify-content: stretch;
}

.header-btn-phone {
  grid-column: 1 / -1;
  min-width: 0;
}

.header-btn {
  padding: 10px 12px;
}

  .page-hero-card,
  .section-card,
  .side-card {
    padding: 16px;
  }

  .page-hero-copy {
    font-size: 0.96rem;
  }

  .mini-cta {
    width: 100%;
  }

  .check-item {
    padding: 10px;
  }

  .submit-btn {
    font-size: 1rem;
  }
}

/* =========================
   Utility (必要なら使う)
========================== */
.text-center {
  text-align: center;
}

/* =========================================================
   FINAL: retro.css と同じ暖色系パレットへ統一（このブロックを最優先）
========================================================= */
body {
  color: #35291d !important;
  background: linear-gradient(to bottom, #efe2cc 0%, #e2cfb3 100%) !important;
}

.site-header {
  background: rgba(247, 238, 224, 0.94) !important;
  border-bottom: 1px solid #cdb89a !important;
}

.site-logo,
.page-title,
.section-title,
.side-title,
.flow-title,
.side-shop-title,
.side-cta-title {
  color: #2e4b68 !important;
}

.site-tagline,
.form-help,
.side-note,
.side-text,
.page-hero-copy,
.section-desc,
.flow-text,
.page-hero-note-list p {
  color: #5f4f41 !important;
}

.header-btn-phone,
.mini-cta-phone,
.side-cta-phone {
  background: #fff0df !important;
  border-color: #e9bf8d !important;
  color: #8f4c11 !important;
}

.header-btn-line,
.mini-cta-line,
.side-cta-line {
  background: #edf7ef !important;
  border-color: #b8d4bd !important;
  color: #2f6241 !important;
}

.header-btn-form,
.side-cta-form {
  background: #eef2f5 !important;
  border-color: #c5d0da !important;
  color: #314a63 !important;
}

.page-hero-card,
.section-card,
.side-card {
  background: #fbf5ea !important;
  border: 1px solid #d9c5a8 !important;
  box-shadow: 0 10px 24px rgba(84, 61, 36, 0.10) !important;
}

.side-card-alt,
.page-hero-note-list {
  background: #f8eddc !important;
  border-color: #e2c9a6 !important;
}

.page-hero-lead {
  background: #efe3d1 !important;
  border: 1px solid #d7c3a5 !important;
  color: #2e4b68 !important;
}

.form-control {
  border-color: #ccb89b !important;
  background: #fffdf8 !important;
  color: #35291d !important;
}

.form-control:focus {
  border-color: #496582 !important;
  box-shadow: 0 0 0 3px rgba(73, 101, 130, 0.14) !important;
}

.site-footer {
  border-top: 0 !important;
  background: #3b2f24 !important;
  margin-top: 12px !important;
}

.footer-brand p,
.footer-text {
  color: #eadfce !important;
}

.footer-shop-name,
.footer-nav a {
  color: #fff7ea !important;
}
