/* ===== まごころ産廃 - Warm Beige Trust ===== */
:root {
  --bg: #FFF5EB;
  --bg-white: #FFFFFF;
  --navy: #1E3A5F;
  --navy-light: #2A4F7A;
  --navy-dark: #142A45;
  --orange: #E07A5F;
  --orange-light: #E8957E;
  --orange-dark: #C5624A;
  --orange-bg: rgba(224, 122, 95, 0.08);
  --orange-glow: rgba(224, 122, 95, 0.15);
  --white: #FFFFFF;
  --cream: #FFF8F0;
  --gray-50: #FAF7F4;
  --gray-100: #F2EDE8;
  --gray-200: #E5DED6;
  --gray-300: #C9BFB4;
  --gray-400: #A69888;
  --gray-500: #7D7068;
  --gray-600: #5C524A;
  --gray-700: #3D352F;
  --text: #2D2520;
  --text-light: #7D7068;
  --border: #E5DED6;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(45, 37, 32, 0.06);
  --shadow-lg: 0 12px 40px rgba(45, 37, 32, 0.1);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

/* ===== SAMPLE BANNER ===== */
.sample-banner {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 38px;
  left: 0;
  width: 100%;
  z-index: 9000;
  background: rgba(255, 245, 235, 0.95);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}

.header.scrolled {
  box-shadow: 0 2px 16px rgba(45, 37, 32, 0.06);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.logo-icon {
  font-size: 28px;
}

.logo-main {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.logo-sub {
  display: block;
  font-size: 10px;
  color: var(--orange);
  font-weight: 500;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
}

.nav-list a:hover {
  color: var(--orange);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 8px 22px !important;
  border-radius: 24px !important;
}

.nav-cta:hover {
  background: var(--orange-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg) 0%, var(--cream) 50%, #FFF0E0 100%);
  overflow: hidden;
  padding-top: 106px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(224, 122, 95, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(30, 58, 95, 0.05) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 700px;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 2;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--orange-glow);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

.hero-trust {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
}

.trust-icon {
  font-size: 20px;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 100px 0;
}

.section:nth-child(odd) {
  background: var(--bg-white);
}

.section:nth-child(even) {
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-box {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-placeholder, .work-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream) 0%, #FFE8D6 100%);
  color: var(--gray-500);
  font-size: 14px;
  gap: 8px;
}

.placeholder-icon {
  font-size: 48px;
}

.about-content .section-label { text-align: left; }
.about-content .section-title { text-align: left; margin-bottom: 20px; }

.about-text {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 2;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.about-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

.point-check {
  width: 24px;
  height: 24px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange-bg);
}

.service-emoji {
  font-size: 40px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card > p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}

.service-list li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: '&#10003;';
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ===== WORKS ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.work-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.work-content {
  padding: 24px;
}

.work-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-bg);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.work-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.5;
}

.work-content p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== NUMBERS ===== */
.numbers {
  background: var(--navy) !important;
}

.numbers .section-label { color: var(--orange-light); }
.numbers .section-title { color: var(--white); }

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.number-card {
  text-align: center;
  padding: 32px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
}

.number-value {
  font-size: 48px;
  font-weight: 900;
  color: var(--orange-light);
  line-height: 1;
}

.number-unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--orange-light);
  margin-left: 2px;
}

.number-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

/* ===== FLOW ===== */
.flow-steps {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.flow-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 36px;
  position: relative;
}

.flow-step:last-child { margin-bottom: 0; }

.flow-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.flow-content {
  padding-top: 8px;
}

.flow-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.flow-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.9;
}

/* ===== COMPANY ===== */
.company-table {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 8px 24px;
  box-shadow: var(--shadow);
}

.company-table table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 16px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  text-align: left;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table th {
  font-weight: 600;
  color: var(--navy);
  width: 140px;
}

.company-table td {
  color: var(--text);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-label { text-align: left; }
.contact-info .section-title { text-align: left; margin-bottom: 16px; }

.contact-info > p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 28px;
}

.contact-phone {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-bottom: 20px;
}

.phone-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}

.phone-number {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.phone-number:hover { color: var(--orange-light); }

.phone-hours {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-icon { font-size: 20px; flex-shrink: 0; }

.contact-item small {
  display: block;
  font-size: 11px;
  color: var(--text-light);
}

.contact-item strong {
  font-size: 14px;
  color: var(--navy);
}

.contact-form-wrap {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.required {
  font-size: 11px;
  color: var(--orange);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--gray-50);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
  background: var(--bg-white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 16px;
}

.footer-brand .logo-main {
  font-size: 18px;
  color: var(--white);
}

.footer-brand .logo-sub {
  color: var(--orange-light);
}

.footer-nav h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-nav a:hover { color: var(--orange-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 12px;
}

.footer-credit a { color: var(--orange-light); }
.footer-credit a:hover { color: var(--white); }

/* ===== CTA ===== */
.cta {
  background: var(--navy) !important;
  padding: 80px 0;
}

.cta-box {
  text-align: center;
}

.cta-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 2;
  margin-bottom: 24px;
}

.cta-phone {
  display: inline-block;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  color: var(--orange-light);
  margin-bottom: 8px;
}

.cta-phone:hover { color: var(--white); }

.cta-hours {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}

.cta-features {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-feature {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* ===== PROMISE ===== */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.promise-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.promise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.promise-num {
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.promise-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.promise-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== AREA ===== */
.area-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.area-main h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  text-align: center;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.area-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.area-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.area-note {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  font-style: italic;
}

/* ===== WASTE TYPES ===== */
.waste-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.waste-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.waste-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.waste-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 8px;
}

.waste-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.waste-item p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  padding: 20px 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.faq-item:last-child { margin-bottom: 0; }

.faq-q {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.9;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sample-banner { font-size: 11px; padding: 8px 16px; }
  .header { top: 34px; }
  .header-inner { height: 60px; }
  .hamburger { display: flex; }

  .nav {
    position: fixed;
    top: 94px;
    left: 0;
    width: 100%;
    height: calc(100vh - 94px);
    background: rgba(255, 245, 235, 0.98);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav.active { opacity: 1; pointer-events: all; }
  .nav-list { flex-direction: column; gap: 24px; }
  .nav-list a { font-size: 18px; color: var(--navy); }

  .hero { padding-top: 94px; }
  .hero-title { font-size: clamp(28px, 8vw, 48px); }
  .hero-trust { flex-direction: column; gap: 12px; align-items: center; }

  .section { padding: 64px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-points { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-value { font-size: 36px; }

  .flow-steps::before { left: 20px; }
  .flow-number { width: 42px; height: 42px; font-size: 16px; }
  .flow-step { gap: 20px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 24px; }
  .phone-number { font-size: 24px; }

  .company-table { padding: 8px 16px; }
  .company-table th { width: 110px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
}
