/* style.css - Favtown inspired design for トクトチ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  /* ===== FAVTOWN-INSPIRED COLOR PALETTE ===== */
  /* Primary: Warm Yellow-Gold (favtown's main yellow) */
  --primary-color: #F5C827;
  --primary-dark: #E0B520;
  --primary-light: #FADA5E;
  --primary-glow: rgba(245, 200, 39, 0.25);
  
  /* Secondary: Rich Orange-Red (favtown's accent orange) */
  --secondary-color: #E95420;
  --secondary-dark: #D44A1C;
  --secondary-light: #F0663A;
  
  /* Dark: Deep charcoal for text/CTA */
  --dark-color: #1A1A1A;
  --dark-muted: #555555;
  
  /* Backgrounds */
  --bg-cream: #FFFCE8;       /* favtown's signature cream/pale yellow */
  --bg-white: #FFFFFF;
  --bg-light: #FFF9E0;       /* slightly richer cream */
  --bg-section: #FEFBE9;
  
  /* Text */
  --text-dark: #333333;
  --text-mid: #555555;
  --text-light: #333333;
  --text-white: #FFFFFF;
  
  /* Accents */
  --green-accent: #2BC77A;
  --blue-accent: #3498DB;
  
  /* Design tokens */
  --font-base: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', sans-serif;
  --border-radius-sm: 6px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-pill: 50px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --border-card: 1px solid rgba(0,0,0,0.08);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: var(--font-base);
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* ========================================================
   APP LAYOUT - 3 COLUMNS PC, 1 COLUMN MOBILE
   ======================================================== */

.app-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

/* Sidebars - PC only (≥ 1024px) */
.sidebar {
  flex: 1;
  max-width: 320px;
  display: none;
  flex-direction: column;
  padding: 28px 16px;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
  z-index: 5;
}

.left-sidebar {
  justify-content: flex-start;
}

.right-sidebar {
  align-items: center;
  justify-content: flex-start;
  padding-top: 32px;
}

/* Central Mobile Viewport */
.phone-viewport {
  width: 390px;
  min-width: 390px;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
  margin: 20px 0;
}

/* PC breakpoint */
@media (min-width: 1024px) {
  .sidebar {
    display: flex;
  }
  body {
    background-color: var(--bg-cream);
  }
}

/* Mobile breakpoint */
@media (max-width: 1023px) {
  .app-container {
    width: 100%;
    max-width: 390px;
    padding: 0;
  }
  .phone-viewport {
    width: 100%;
    min-width: unset;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
  }
}

/* ========================================================
   LEFT SIDEBAR - NAVIGATION MENU
   ======================================================== */

.sidebar-nav-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  border: var(--border-card);
}

.brand-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary-color);
}

.brand-logo .logo-main {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark-color);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo .logo-badge {
  font-size: 0.65rem;
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 2px 8px;
  border-radius: var(--border-radius-pill);
  font-weight: 800;
}

.brand-logo .logo-sub {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.left-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--border-radius);
  color: var(--text-mid);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-item:hover {
  background-color: var(--bg-light);
  color: var(--dark-color);
}

.nav-item.active {
  background-color: var(--primary-color);
  color: var(--dark-color);
  font-weight: 700;
}

.nav-icon {
  font-size: 1rem;
  min-width: 20px;
  text-align: center;
}

.nav-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}

.left-footer {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ========================================================
   RIGHT SIDEBAR - MIE MAP
   ======================================================== */

.map-widget-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  border: var(--border-card);
  width: 100%;
}

.sidebar-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--dark-color);
  text-align: center;
  margin-bottom: 16px;
}

.map-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.map-static-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  pointer-events: none; /* 各地域をクリック不可に設定 */
  border-radius: 8px;
}

.region-info-value {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--secondary-color);
}

/* ========================================================
   PHONE VIEWPORT - LP CONTENT
   ======================================================== */

/* Header */
.lp-header {
  background: var(--bg-white);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 2px solid var(--primary-color);
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-logo-text {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--dark-color);
  letter-spacing: -0.02em;
}

.lp-logo-badge {
  font-size: 0.6rem;
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 2px 8px;
  border-radius: var(--border-radius-pill);
  font-weight: 800;
}

.btn-header-cta {
  background-color: #1A1A1A;
  color: var(--text-white);
  padding: 8px 16px;
  border-radius: var(--border-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.btn-header-cta:hover {
  background-color: #333333;
  transform: translateY(-1px);
}

/* Section common styles */
section {
  padding: 40px 16px;
  background: var(--bg-white);
}

.section-listings,
.section-soldout,
.section-faq {
  background: var(--bg-section);
}

.section-icon-wrap {
  text-align: center;
  margin-bottom: 10px;
}

.section-icon {
  width: 36px;
  height: auto;
  display: inline-block;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--secondary-color);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  text-transform: uppercase;
  text-align: center;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--dark-color);
  line-height: 1.3;
  margin-bottom: 10px;
  text-align: center;
}

.section-sub {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.5;
  text-align: center;
}

/* ========================================================
   HERO / FIRST VIEW
   ======================================================== */

.section-fv {
  background: var(--bg-white);
  padding: 40px 16px 36px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative background blobs */
.section-fv::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.12;
  z-index: 0;
}

.section-fv::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
}

.section-fv > * {
  position: relative;
  z-index: 1;
}

.fv-badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--dark-color);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 16px;
}

.fv-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--dark-color);
  line-height: 1.25;
  margin-bottom: 14px;
}

.fv-title .highlight {
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}

/* Underline decoration */
.fv-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary-color);
  opacity: 0.5;
  z-index: -1;
  border-radius: 3px;
}

.fv-lead {
  font-size: 0.95rem;
  font-weight: 500;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.55;
  text-align: center;
}

.fv-logo-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.fv-logo-img {
  width: 240px;
  max-width: 80%;
  height: auto;
  display: inline-block;
}

.fv-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

/* Button styles */
.btn-primary {
  display: block;
  background-color: var(--primary-color);
  color: var(--dark-color);
  font-weight: 800;
  padding: 15px;
  border-radius: var(--border-radius-pill);
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(245, 200, 39, 0.4);
  transition: var(--transition);
  text-align: center;
  border: 2px solid var(--primary-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 200, 39, 0.5);
}

.btn-secondary {
  display: block;
  background: var(--bg-white);
  color: var(--dark-color);
  border: 2px solid var(--dark-color);
  font-weight: 700;
  padding: 13px;
  border-radius: var(--border-radius-pill);
  font-size: 0.95rem;
  transition: var(--transition);
  text-align: center;
}

.btn-secondary:hover {
  background: var(--dark-color);
  color: var(--text-white);
}

.fv-achievements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.achievement-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 8px 16px 8px;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #EDE8D0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  text-align: center;
}

.achieve-label {
  font-size: 1.02rem;
  font-weight: 900;
  color: #111111;
  margin-bottom: 8px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.achieve-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.achieve-val {
  font-size: 2.3rem;
  font-weight: 900;
  color: #E95420;
  line-height: 1;
  letter-spacing: -0.03em;
}

.achieve-unit {
  font-size: 1.1rem;
  font-weight: 900;
  color: #111111;
  line-height: 1;
}

.achievements-note {
  font-size: 0.75rem;
  color: #555555;
  text-align: right;
  margin-top: 6px;
  font-weight: 500;
}

/* ========================================================
   LISTINGS (値下げ土地一覧)
   ======================================================== */

.section-listings {
  background: var(--bg-section);
}

.listings-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.land-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: var(--border-card);
  position: relative;
  transition: var(--transition);
}

.land-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
}

.card-img-wrap::after {
  content: '🔍 拡大';
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

.card-img-wrap:hover::after {
  opacity: 1;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.land-card:hover .card-img {
  transform: scale(1.04);
}

/* DOWN ribbon - editorial tag style (not a button) */
.down-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  color: var(--text-white);
  padding: 8px 10px 6px 10px;
  gap: 0;
  /* Angled bottom-right corner */
  clip-path: polygon(0 0, 100% 0, 100% 75%, 80% 100%, 0 100%);
  min-width: 58px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.down-ribbon .down-amount {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.down-ribbon .down-unit {
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 1px;
  letter-spacing: 0.02em;
}

.down-ribbon .down-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: rgba(0,0,0,0.2);
  padding: 1px 5px;
  margin-top: 4px;
  border-radius: 2px;
  line-height: 1.4;
}

.card-body {
  padding: 14px;
  cursor: pointer;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 6px;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--secondary-color);
  font-weight: bold;
}

.card-price .price-val {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.card-price .price-old {
  font-size: 0.72rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 400;
}

.card-specs {
  list-style: none;
  border-top: 1px solid #F0EAD8;
  padding-top: 10px;
  margin-bottom: 14px;
}

.card-specs li {
  font-size: 0.78rem;
  color: var(--text-mid);
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
}

.card-specs li:last-child { margin-bottom: 0; }

.spec-label {
  color: var(--text-light);
  font-weight: 500;
}

.btn-card-action {
  width: 100%;
  background-color: var(--dark-color);
  color: var(--text-white);
  padding: 11px;
  border-radius: var(--border-radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
}

.btn-card-action:hover {
  background-color: var(--secondary-color);
}

/* ========================================================
   COMMON SPECS OVERVIEW (全トチ概要)
   ======================================================== */

.section-common-specs {
  background: var(--bg-section);
  padding: 0 16px 28px 16px;
}

.common-specs-card {
  background: #FFFFFF;
  border-radius: var(--border-radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border: var(--border-card);
  max-width: 600px;
  margin: 0 auto;
}

.common-specs-header {
  text-align: center;
  margin-bottom: 20px;
}

.common-specs-badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--dark-color);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 8px;
}

.common-specs-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-color);
  line-height: 1.35;
  margin: 0;
}

.highlight-orange {
  color: #FD6E14;
}

.common-specs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 2px dashed #E5E0D0;
  padding-top: 16px;
  margin: 0;
}

.common-spec-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.82rem;
  line-height: 1.5;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.common-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.common-spec-term {
  font-weight: 700;
  color: var(--text-dark);
  min-width: 130px;
}

.common-spec-desc {
  font-weight: 500;
  color: var(--text-mid);
  margin: 0;
  text-align: right;
  flex: 1;
}

.common-spec-note {
  display: inline-block;
  font-size: 0.74rem;
  color: #777777;
  font-weight: 400;
}

@media (max-width: 480px) {
  .common-spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .common-spec-desc {
    text-align: left;
    width: 100%;
  }
}

/* ========================================================
   MATCHING SECTION (希望条件バナー)
   ======================================================== */

.section-matching {
  background: var(--bg-section);
  padding: 16px 16px 32px 16px;
  border-bottom: none;
}

.matching-card {
  background: #F3C536; /* 添付画像と同じ明るい黄金色 */
  border-radius: 32px;
  padding: 16px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.matching-card-inner {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px 24px 0 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.matching-card-title {
  color: #000000;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
}

.matching-card-line {
  width: 48px;
  height: 3px;
  background-color: #555555;
  border-radius: 2px;
  margin: 14px auto 18px auto;
}

.matching-card-text {
  color: #111111;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.65;
  margin: 0 auto 28px auto;
  text-align: left;
  display: inline-block;
}

.matching-card-bottom {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 70px;
  padding-left: 8px;
}

.btn-matching-cta {
  display: inline-block;
  background-color: #1E1E1E;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-bottom: 16px;
  z-index: 2;
  white-space: nowrap;
}

.btn-matching-cta:hover {
  background-color: #333333;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.matching-woman-img {
  position: absolute;
  right: 12px;
  bottom: 0;
  width: 90px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 480px) {
  .matching-card {
    border-radius: 24px;
    padding: 12px;
  }
  .matching-card-inner {
    border-radius: 18px;
    padding: 24px 14px 0 14px;
  }
  .matching-card-title {
    font-size: 1.15rem;
  }
  .matching-card-text {
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .matching-card-bottom {
    min-height: 60px;
    padding-left: 0;
  }
  .btn-matching-cta {
    padding: 9px 13px;
    font-size: 0.76rem;
    margin-bottom: 10px;
    max-width: calc(100% - 75px);
  }
  .matching-woman-img {
    width: 65px;
    right: 4px;
  }
}

/* ========================================================
   SOLDOUT (売却済み土地)
   ======================================================== */

.soldout-table-wrapper {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid #E0E0E0;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.soldout-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  font-size: 0.82rem;
}

.soldout-table th,
.soldout-table td {
  padding: 9px 6px;
  text-align: center;
  border-bottom: 1px solid #E5E5E5;
  font-size: 0.78rem;
  vertical-align: middle;
  white-space: nowrap;
}

.soldout-table th {
  background-color: #F2F2F2;
  font-weight: 800;
  color: var(--text-mid);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.soldout-area {
  text-align: left !important;
  font-weight: 700;
  color: var(--text-dark);
}

.soldout-m2 {
  color: var(--text-mid);
  font-size: 0.75rem;
}

.soldout-original {
  color: #333333;
  font-size: 0.75rem;
}

.soldout-original s {
  text-decoration-color: #aaa;
}

.soldout-price {
  font-weight: 800;
  color: var(--secondary-color);
  font-size: 0.85rem;
}

.soldout-down {
  font-weight: 700;
  color: #C0392B;
  font-size: 0.75rem;
}

.soldout-table tr:nth-child(even) td {
  background-color: #F2F2F2;
}

.soldout-table tr.hidden-item {
  display: none;
}

.soldout-table tr.hidden-item.show {
  display: table-row;
  animation: fadeInRow 0.3s ease forwards;
}

@keyframes fadeInRow {
  from { opacity: 0; }
  to { opacity: 1; }
}

.btn-load-more {
  display: block;
  width: 100%;
  background-color: var(--bg-white);
  color: var(--dark-color);
  border: 2px solid var(--dark-color);
  padding: 13px;
  border-radius: var(--border-radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
}

.btn-load-more:hover {
  background-color: var(--dark-color);
  color: var(--text-white);
}

.btn-load-more.active {
  background-color: #F5F0E0;
  color: var(--text-light);
  border-color: #DDD8C0;
}

/* ========================================================
   ABOUT SECTION (トクトチとは)
   ======================================================== */

.about-hero-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px auto 36px auto;
  max-width: 500px;
  padding-bottom: 24px;
  border-bottom: 3px solid #F5C827;
}

.about-hero-text {
  text-align: left;
}

.about-hero-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #000000;
  line-height: 1.25;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.about-hero-desc {
  font-size: 1.0rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.45;
  margin: 0;
}

.about-hero-img-wrap {
  flex-shrink: 0;
}

.about-hero-img {
  width: 140px;
  height: auto;
  display: block;
}

.about-reasons-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111111;
  margin: 0 0 24px 0;
  text-align: center;
}

.reason-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 540px;
  margin: 0 auto;
}

.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #EFEFEF;
}

.reason-item:last-child {
  border-bottom: none;
}

.reason-num {
  font-size: 1.15rem;
  font-weight: 900;
  color: #000000;
  background: #F3C536;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(243, 197, 54, 0.25);
}

.reason-content {
  text-align: left;
}

.reason-content h4 {
  font-size: 1.02rem;
  font-weight: 800;
  color: #111111;
  margin: 2px 0 6px 0;
  line-height: 1.4;
}

.reason-content p {
  font-size: 0.86rem;
  color: #555555;
  line-height: 1.65;
  margin: 0;
}

.about-summary-lead {
  font-size: 0.92rem;
  font-weight: 600;
  color: #111111;
  line-height: 1.75;
  text-align: left;
  max-width: 540px;
  margin: 36px auto 0 auto;
}

@media (max-width: 480px) {
  .about-hero-box {
    gap: 10px;
    margin: 24px auto 32px auto;
  }
  .about-hero-title {
    font-size: 1.15rem;
  }
  .about-hero-desc {
    font-size: 0.88rem;
  }
  .about-hero-img {
    width: 105px;
  }
  .about-reasons-title {
    font-size: 1.08rem;
  }
  .reason-num {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 1.0rem;
  }
  .reason-content h4 {
    font-size: 0.95rem;
  }
  .reason-content p {
    font-size: 0.82rem;
  }
  .about-summary-lead {
    font-size: 0.86rem;
  }
}

/* ========================================================
   FAQ SECTION
   ======================================================== */

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid #EDE8D0;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  background-color: var(--bg-white);
}

.faq-item.active {
  border-color: #FD6E14;
  box-shadow: 0 4px 12px rgba(253, 110, 20, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-white);
  padding: 16px 18px;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark-color);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  outline: none;
}

.faq-question:hover {
  background-color: #FFFDF0;
}

.faq-item.active .faq-question {
  background-color: #FD6E14;
  color: var(--text-white);
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FD6E14;
  transition: transform 0.3s ease, color 0.3s ease;
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(253, 110, 20, 0.1);
  line-height: 1;
}

.faq-question:hover .faq-icon {
  background: rgba(253, 110, 20, 0.2);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #FD6E14;
  background: var(--text-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
  padding: 16px 18px;
  font-size: 0.82rem;
  color: var(--text-dark);
  line-height: 1.75;
  background: #FFFDF5;
  border-top: 1px dashed #EAE3CC;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.35s ease-in-out;
}

/* ========================================================
   RESULTS SECTION
   ======================================================== */

.section-results {
  background: var(--primary-color);
  padding: 24px 14px;
}

.results-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--dark-color);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.result-box {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 22px 10px 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.result-label {
  font-size: 1.02rem;
  font-weight: 900;
  color: #111111;
  margin-bottom: 8px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.result-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.result-num {
  font-size: 2.3rem;
  font-weight: 900;
  color: #E95420;
  line-height: 1;
  letter-spacing: -0.03em;
}

.unit {
  font-size: 1.1rem;
  font-weight: 900;
  color: #111111;
  line-height: 1;
}

.results-note {
  font-size: 0.75rem;
  color: #333333;
  text-align: right;
  margin-top: 6px;
  font-weight: 500;
}

/* ========================================================
   CONTACT FORM
   ======================================================== */

.section-contact {
  background: var(--bg-white);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark-color);
}

.form-label.required::after {
  content: '必須';
  background-color: var(--secondary-color);
  color: var(--text-white);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--border-radius-pill);
  margin-left: 8px;
  display: inline-block;
  vertical-align: middle;
}

.radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 500;
}

.radio-label input[type="radio"] {
  accent-color: var(--secondary-color);
  width: 16px;
  height: 16px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #DDD8C0;
  border-radius: var(--border-radius);
  font-size: 0.85rem;
  font-family: var(--font-base);
  background-color: var(--bg-white);
  outline: none;
  transition: var(--transition);
  color: var(--text-dark);
}

.form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: var(--bg-white);
}

.form-hint {
  font-size: 0.7rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* Requirements fields */
.requirements-fields {
  display: none;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-light);
  padding: 14px;
  border-radius: var(--border-radius);
  border: 2px solid var(--primary-color);
}

.requirements-fields.active {
  display: flex;
  animation: slideDown 0.25s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Auto-fill flash */
.highlight-flash {
  animation: flashHighlight 1s ease;
}

@keyframes flashHighlight {
  0% { border-color: var(--primary-color); background: var(--primary-glow); }
  100% { border-color: #DDD8C0; background: var(--bg-white); }
}

.agreement-group {
  margin-top: 6px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--secondary-color);
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.form-textarea {
  resize: vertical;
  min-height: 70px;
  font-family: inherit;
  line-height: 1.5;
}

.privacy-note {
  font-size: 0.7rem;
  color: var(--text-light);
  padding-left: 24px;
  margin-top: 4px;
  line-height: 1.4;
}

.privacy-link {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: 700;
  transition: var(--transition);
}

.privacy-link:hover {
  color: var(--secondary-dark);
  text-decoration: none;
}

.btn-submit {
  background-color: var(--secondary-color);
  color: var(--text-white);
  padding: 15px;
  border-radius: var(--border-radius-pill);
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(233, 84, 32, 0.3);
  transition: var(--transition);
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(233, 84, 32, 0.4);
}

.btn-submit:disabled {
  background: #DDD8C0;
  color: var(--text-light);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Form success */
.form-success-message {
  text-align: center;
  background: var(--bg-white);
  padding: 40px 20px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--primary-color);
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: #2BC77A;
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 12px rgba(43, 199, 122, 0.3);
}

.form-success-message h3 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.form-success-message p {
  font-size: 0.83rem;
  color: var(--text-mid);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Logo Image Styles */
.site-logo-img {
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.logo-img-sidebar {
  height: 28px;
}

.logo-img-header {
  height: 24px;
}

.logo-img-inline {
  height: 22px;
  margin: 0 2px;
  vertical-align: -3px;
}

.logo-img-footer {
  height: 32px;
}

/* ========================================================
   FOOTER
   ======================================================== */

.lp-footer {
  background-color: #FEFBE9;
  color: #1a1a1a;
  padding: 36px 20px;
  font-size: 0.8rem;
  border-top: 1px solid #EAE3CC;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-logo-badge {
  font-size: 0.65rem;
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 2px 8px;
  border-radius: var(--border-radius-pill);
  font-weight: 800;
}

.footer-desc {
  color: rgba(26, 26, 26, 0.75);
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 0.78rem;
}

.company-info {
  border-top: 1px solid rgba(26, 26, 26, 0.15);
  padding-top: 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-info p {
  color: #1a1a1a;
  line-height: 1.5;
}

.company-name {
  font-weight: 700;
  color: #1a1a1a;
}

.company-license {
  margin-top: 6px; /* flex gap 4px + margin 6px = 10px 余白 */
}

.copyright {
  font-size: 0.72rem;
  color: rgba(26, 26, 26, 0.65);
}

/* ========================================================
   PC FIXED TOWNSCAPE BACKGROUNDS
   ======================================================== */

.fixed-bg-townscape {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  pointer-events: none;
  z-index: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  overflow: hidden;
}

.bg-townscape-left {
  max-width: 40vw;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  object-position: left bottom;
}

.bg-townscape-right {
  max-width: 40vw;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  object-position: right bottom;
}

@media (max-width: 1024px) {
  .fixed-bg-townscape {
    display: none !important;
  }
}

/* ========================================================
   IMAGE LIGHTBOX MODAL
   ======================================================== */
.image-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
}

.image-lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.image-lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  background: #ffffff;
}

.lightbox-caption {
  color: #ffffff;
  font-size: 0.9rem;
  margin-top: 12px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 1.8rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* ========================================================
   THANKS PAGE STYLES
   ======================================================== */

.section-thanks-hero {
  padding: 40px 20px 32px;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-white) 100%);
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.thanks-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--green-accent) 0%, #10B981 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2.6rem;
  font-weight: bold;
  box-shadow: 0 10px 25px rgba(43, 199, 122, 0.35);
  animation: thanksPopIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes thanksPopIn {
  0% {
    opacity: 0;
    transform: scale(0.4) rotate(-15deg);
  }
  70% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.thanks-badge {
  display: inline-block;
  background: rgba(233, 84, 32, 0.1);
  color: var(--secondary-color);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.thanks-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--dark-color);
  line-height: 1.4;
  margin-bottom: 12px;
}

.thanks-lead {
  font-size: 0.92rem;
  color: var(--dark-muted);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto;
}

/* Thanks Flow Section */
.section-thanks-flow {
  padding: 32px 20px;
  background: var(--bg-white);
}

.thanks-flow-card {
  background: var(--bg-section);
  border: 1px solid rgba(245, 200, 39, 0.3);
  border-radius: var(--border-radius);
  padding: 24px 18px;
  box-shadow: var(--shadow-sm);
}

.thanks-flow-title {
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
  color: var(--dark-color);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.thanks-flow-title::before,
.thanks-flow-title::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-color);
}

.flow-step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.flow-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-white);
  padding: 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.flow-step-num {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--primary-color);
  color: var(--dark-color);
  font-weight: 900;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(245, 200, 39, 0.4);
}

.flow-step-body {
  flex: 1;
}

.flow-step-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 4px;
}

.flow-step-desc {
  font-size: 0.84rem;
  color: var(--dark-muted);
  line-height: 1.5;
}

/* Urgent Contact Box */
.urgent-contact-box {
  margin-top: 24px;
  background: linear-gradient(135deg, #FFF9E0 0%, #FFF3C4 100%);
  border: 2px dashed var(--primary-dark);
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
}

.urgent-contact-badge {
  display: inline-block;
  background: var(--secondary-color);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.urgent-contact-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--dark-color);
  margin-bottom: 8px;
}

.urgent-tel-number {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--secondary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.urgent-tel-number img {
  width: 22px;
  height: 22px;
}

.urgent-hours {
  font-size: 0.8rem;
  color: var(--dark-muted);
}

/* Thanks Action Buttons */
.section-thanks-actions {
  padding: 28px 20px 36px;
  background: var(--bg-cream);
  text-align: center;
}

.thanks-actions-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark-color);
  margin-bottom: 16px;
}

.thanks-btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-thanks-home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: var(--primary-color);
  color: var(--dark-color);
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 4px 14px rgba(245, 200, 39, 0.4);
  transition: var(--transition);
}

.btn-thanks-home:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 200, 39, 0.5);
}

.btn-thanks-listings {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: #ffffff;
  color: var(--dark-color);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--dark-color);
  border-radius: var(--border-radius-pill);
  transition: var(--transition);
}

.btn-thanks-listings:hover {
  background: var(--dark-color);
  color: #ffffff;
  transform: translateY(-2px);
}

