/* 空き家テラス - 明るい青ベース・読みやすく */
:root {
  --color-bg: #e8f4fc;
  --color-bg-sub: #d6ebf9;
  --color-surface: #fff;
  --color-primary: #1e6bb8;
  --color-primary-light: #2b7dd4;
  --color-primary-deep: #1557a0;
  --color-accent: #3b8ad4;
  --color-text: #1a365d;
  --color-text-muted: #2d5a87;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-mincho: "Zen Old Mincho", "Yu Mincho", serif;
  --shadow-soft: 0 2px 20px rgba(30, 107, 184, 0.08);
  --shadow-hover: 0 8px 32px rgba(30, 107, 184, 0.12);
  --radius: 10px;
  --radius-sm: 6px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.85;
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(232, 244, 252, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 107, 184, 0.12);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-weight: 600;
  font-size: 18px;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-primary);
}

.btn-contact {
  background: var(--color-primary);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 17px;
  letter-spacing: 0.04em;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-contact:hover {
  background: var(--color-primary-light);
  box-shadow: 0 4px 16px rgba(30, 107, 184, 0.3);
}

.menu-btn {
  display: none;
  width: 28px;
  height: 28px;
  border: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231e6bb8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E") center/contain no-repeat;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #e8f4fc 0%, #dceffa 40%, #d0e9f8 70%, #c4e3f6 100%);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 60% at 50% 10%, rgba(59, 138, 212, 0.15) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero-catch {
  font-family: var(--font-mincho);
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.6;
  color: var(--color-primary-deep);
  margin-bottom: 22px;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.hero-catch-line1,
.hero-catch-line2 {
  display: block;
}

.hero-title {
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.18em;
  margin-bottom: 28px;
}

.hero-lead {
  font-size: 20px;
  color: var(--color-text-muted);
  margin-bottom: 44px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.cta-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 18px 40px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.06em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cta-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(30, 107, 184, 0.35);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: var(--color-surface);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.2rem);
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.section-title .en {
  display: block;
  font-size: 0.6em;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.28em;
  margin-bottom: 8px;
}

.section-lead {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 52px;
  font-size: 20px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* Concept cards */
.concept-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.card {
  background: var(--color-surface);
  padding: 40px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 107, 184, 0.1);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(30, 107, 184, 0.18);
}

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.card p {
  font-size: 19px;
  color: var(--color-text-muted);
  line-height: 1.85;
  letter-spacing: 0.02em;
}

.concept-note {
  text-align: center;
  font-size: 16px;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Stats */
.stats {
  padding: 64px 0;
  background: linear-gradient(180deg, #fff 0%, #eef4f9 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-mincho);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  margin-bottom: 8px;
}

.stat-num .unit {
  font-size: 0.5em;
  font-weight: 500;
  margin-left: 2px;
}

.stat p {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Before/After - 写真を1.5倍サイズで表示 */
.service .container {
  max-width: 1040px;
}

.before-after {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.ba-item {
  flex: 1;
  min-width: 300px;
  max-width: 480px;
}

.ba-label {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.ba-box {
  aspect-ratio: 4/3;
  background: var(--color-bg-sub);
  border-radius: var(--radius);
  border: 1px solid rgba(30, 107, 184, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ba-box .ba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-arrow {
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 300;
}

.before-after-caption {
  text-align: center;
  font-size: 19px;
  color: var(--color-text-muted);
  margin-top: 12px;
  margin-bottom: 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

.service-list {
  list-style: none;
  max-width: 560px;
  margin: 0 auto;
}

.service-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(30, 107, 184, 0.1);
  padding-left: 32px;
  position: relative;
  font-size: 19px;
  letter-spacing: 0.02em;
  line-height: 1.8;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Mission */
.mission {
  background: linear-gradient(165deg, #1557a0 0%, #1e6bb8 50%, #2b7dd4 100%);
  color: #fff;
}

.mission-title {
  color: #fff;
  margin-bottom: 36px;
}

.mission-title .en {
  color: rgba(255,255,255,0.75);
}

.mission-quote {
  font-family: var(--font-mincho);
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  line-height: 1.85;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.mission-quote-end {
  display: block;
  margin-top: 18px;
  font-size: 0.95em;
  opacity: 0.95;
}

/* Company */
.company-dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px 36px;
  max-width: 620px;
  margin: 0 auto;
}

.company-dl dt {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 18px;
}

.company-dl dd {
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.75;
}

.company-address {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 107, 184, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.company-address:hover {
  color: var(--color-primary-light);
  border-bottom-color: var(--color-primary-light);
}

/* Contact */
.contact {
  text-align: center;
}

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.contact-form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-field {
  margin-bottom: 20px;
}

.contact-field label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.contact-field .required {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
  margin-left: 4px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 18px;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid rgba(30, 107, 184, 0.25);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  margin-top: 28px;
  margin-bottom: 0;
  text-align: center;
}

.contact-submit .cta-primary {
  margin-top: 0;
  border: none;
  cursor: pointer;
  font-size: 18px;
}

.contact-thanks .section-lead {
  margin-bottom: 32px;
}

.contact-thanks-link {
  margin: 0;
}

.contact .cta-primary {
  margin-top: 16px;
}

/* Footer */
.footer {
  padding: 36px 24px;
  background: var(--color-primary-deep);
  color: rgba(255,255,255,0.82);
  text-align: center;
}

.footer-logo {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 16px;
}

.footer-nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-sns a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-sns a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-catch {
    font-size: 1.5rem;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(232, 244, 252, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(30, 107, 184, 0.12);
  }

  .nav a {
    font-size: 18px;
  }

  .nav.is-open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .concept-cards,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .company-dl {
    grid-template-columns: 1fr;
  }

  .company-dl dt {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 4px;
  }
}

@media (max-width: 480px) {
  .hero-catch {
    font-size: 1.35rem;
  }
}
